https://github.com/phpacker/phpacker
Package any PHP script or PHAR into a standalone, cross-platform executable
https://github.com/phpacker/phpacker
cross-platform php tooling
Last synced: 20 days ago
JSON representation
Package any PHP script or PHAR into a standalone, cross-platform executable
- Host: GitHub
- URL: https://github.com/phpacker/phpacker
- Owner: phpacker
- License: mit
- Created: 2025-02-11T22:55:12.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-03-30T20:35:12.000Z (10 months ago)
- Last Synced: 2025-03-30T21:27:47.069Z (10 months ago)
- Topics: cross-platform, php, tooling
- Language: PHP
- Homepage: https://phpacker.dev
- Size: 238 MB
- Stars: 232
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README

[](https://github.com/phpacker/phpacker/actions/workflows/pest.yml)
[](https://github.com/phpacker/phpacker/actions/workflows/phpstan.yml)
[](https://github.com/phpacker/phpacker/actions/workflows/pint.yml)
[](https://packagist.org/packages/phpacker/phpacker)
[](LICENSE.md)
PHPacker enables you to package any PHP script or PHAR into a standalone, cross-platform executable. It handles all the complexity of bundling PHP with your application, making distribution simple and hassle-free.
## Documentation
You can read the official documentation on the [PHPacker website](https://phpacker.dev).
## Installation
You can install PHPacker globally via Composer:
```bash
composer global require phpacker/phpacker
```
Or as a project dependency:
```bash
composer require phpacker/phpacker --dev
```
## Quick Start
Build a standalone executable from your PHP script with a single command:
```bash
phpacker build --src=./app.phar
```
## Contributing
Contributions are welcome! Please see our [Contributing Guide](CONTRIBUTING.md) for details.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details.
## Support
- [Documentation](https://phpacker.dev/docs)
- [GitHub Issues](https://github.com/phpacker/phpacker/issues)