Composer Bundler is a lightweight PHP web application that allows you to generate and download vendor/ bundles from a composer.json file without requiring Composer CLI on your local machine.
This is especially useful for users who cannot install Composer locally but still need to build and ship dependencies.
Starting from the latest version, Composer Bundler no longer depends on a globally installed Composer CLI.
Instead:
- The application uses a local
composer.pharfile included inside the project. - No system-wide Composer installation is required.
- No dependency on
$PATHconfiguration. - Improved portability and easier deployment.
This makes the application fully self-contained and more secure in restricted hosting environments.
- Paste your
composer.jsonin the web UI - Automatically runs
composer installusing the bundledcomposer.phar - Packages the
vendor/directory into a ZIP file - Download-ready bundle with autoload support
- Fully self-contained (no global Composer required)
- Easy to self-host:
- Works on any Linux/macOS machine with PHP installed
- Can be run using the built-in PHP development server or deployed on Apache/Nginx
- PHP 8.1+
shell_exec()enabled- Linux, macOS, or any system capable of running PHP
Composer CLI is NOT required anymore.
-
Clone this repository:
git clone https://github.com/rmnsr/composer-bundler.git
-
Run the PHP dev server
php -S localhost:8000 -t composer-bundler/html
Open http://localhost:8000 in your browser.
Interface:
Downloaded ZIP example:

