iggyvolz / pnp
PNP's Not Phar - a PHP project merger
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^8.1 <8.2
- symfony/console: ^6.0
Suggests
- ext-bz2: BZ2 encoding
- ext-ffi: Use actual file name instead of 'eval()'d code
- ext-zlib: GZ encoding
README
Create a single PHP file from a PHP project. Use as:
$ pnp <output file> -b <script to run> --vendor <vendor dir to load> -c <compression mode>
For example, you can generate binaries for this project with:
$ pnp pnp -b bin/pnp --vendor ./vendor -c gzip
Or for Composer with:
$ pnp composer -b bin/composer --vendor ./vendor -c gzip