Phpacker
Phpacker stats
- Downloads
- 41
- Stars
- 41
- Open Issues
- 2
- Forks
- 1
Package a PHP script as a standalone cross-platform binary. Convenience wrapper around static-php & phpmicro using general-purpose php binaries

PHPacker enables you to package any PHP script or PHAR into a standalone, cross-platform executable. It handles all the complexity of bundling PHP runtime with your application, making distribution simple and hassle-free.
Documentation
You can read the official documentation on the PHPacker website.
Installation
You can install PHPacker globally via Composer:
composer global require phpacker/phpacker
Or as a project dependency:
composer require phpacker/phpacker --dev
Quick Start
Build a standalone executable from your PHP script with a single command:
phpacker build --src=./app.phar
Contributing
Contributions are welcome! Please see our Contributing Guide for details.
License
This project is licensed under the MIT License - see the LICENSE file for details.