Self-contained
PHP executables

build once, run anywhere

PHPacker demo
Replay demo

Package PHP Apps Without the Hassle

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.


Self-Contained Executables

Distribute your CLI app as a single file - PHP is bundled with your application

Cross-Platform Support

Build executables for macOS, Linux, and Windows from a single codebase

Seamless distribution

Install the right build automatically for any platform with our Composer Installer

Project Configuration

Store build and INI config in version-controlled files

Multiple PHP Versions

Choose from PHP 8.2, 8.3, or 8.4 to match your application's requirements

Custom PHP Binaries

Use your own custom-built PHP binaries with specific extensions

Made with for the PHP community by Willem Leuverink