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.
Distribute your CLI app as a single file - PHP is bundled with your application
Build executables for macOS, Linux, and Windows from a single codebase
Install the right build automatically for any platform with our Composer Installer
Store build and INI config in version-controlled files
Choose from PHP 8.2, 8.3, or 8.4 to match your application's requirements
Use your own custom-built PHP binaries with specific extensions