Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Composer Bundler

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.

🆕 What's New (Bundled Composer Version)

Starting from the latest version, Composer Bundler no longer depends on a globally installed Composer CLI.

Instead:

  • The application uses a local composer.phar file included inside the project.
  • No system-wide Composer installation is required.
  • No dependency on $PATH configuration.
  • Improved portability and easier deployment.

This makes the application fully self-contained and more secure in restricted hosting environments.

✨ Features

  • Paste your composer.json in the web UI
  • Automatically runs composer install using the bundled composer.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

⚠️ Requirements

  • PHP 8.1+
  • shell_exec() enabled
  • Linux, macOS, or any system capable of running PHP

Composer CLI is NOT required anymore.

🚀 Installation

  1. Clone this repository:

    git clone https://github.com/rmnsr/composer-bundler.git
  2. Run the PHP dev server

    php -S localhost:8000 -t composer-bundler/html

Open http://localhost:8000 in your browser.

Screenshot

Interface:

Interface

Downloaded ZIP example:

Downloaded ZIP

About

Composer Bundler – A PHP web app to bundle Composer vendor libraries and download as ZIP

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages