Composer
Composer is a digital tool that automatically finds and organises all the necessary components needed to build a PHP-based website.
Platform availability
Available on 0 of 10 platforms
- Unraid (not listed)
- TrueNAS (not listed)
- Umbrel (not listed)
- ZimaOS (not listed)
- Proxmox (not listed)
- Helm (not listed)
- Mac (not listed)
- Windows (not listed)
- Linux (not listed)
- Any server (not listed)
Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.
77/100 Good
- Maintained
- 100last commit 8 days ago
- Popular
- 8929,581 GitHub stars
- Easy to install
- 250 install platforms, install notes, Docker image
- Light to run
- No data
- Security check
- 69no serious findings, OpenSSF Scorecard 5.9/10
Based on 4 of 5 factors.
- GitHub stars
- 29,581
- Open issues
- 175
- Last commit
- 2026-11-13
- Latest release
- 2.11.2
- License
- MIT
- Activity
- rising
Checked 3 days ago - source: GitHub (composer/composer)
Resources & Compatibility
ARM (e.g. Raspberry Pi) is supported.
Checked 54 days ago - source: Docker Hub image tags and published docs
First-install notes
- Run Composer's setup check first Run `curl -sS https://getcomposer.org/installer | php -- --check` before using Composer. It confirms your PHP setup and Composer installation are working, so you can catch missing pieces before commands fail in confusing ways. source
- Use Composer install for project code In a project folder, run `php composer.phar install` so Composer uses `composer.json` (your list of needed packages) and saves the exact versions in `composer.lock`. If you skip this, the app may crash because required packages are missing from the `vendor` folder. source
- Add global Composer tools to PATH If you install a command-line tool globally with Composer, add Composer's global binary folder to your PATH (the list of folders your terminal searches for commands). Without that, the tool is installed but your terminal will say the command cannot be found. source
Fetched 53 days ago - each note links to its source
Variants
Alternatives (1)
- npm - npm is a package manager for Node.js that is run through the command line and manages dependencies for an application.
Checked 40 days ago - source: AlternativeTo
Common questions
How can I update Composer to a version that matches my PHP setup?
Run the Composer installer or the self-update command. It should automatically select the appropriate Composer version for your PHP.
What should I do first when Composer commands fail?
Make sure you are using the latest version, then run composer diagnose to check for common problems. If all checks pass, continue troubleshooting from there.
How do I install dependencies for a PHP project?
In the project folder, run php composer.phar install so Composer uses composer.json and saves exact versions in composer.lock. Skipping this can leave the vendor folder incomplete and crash the app.
Why can't my terminal find a command installed globally with Composer?
Add Composer's global binary folder to your PATH. Without that, the terminal will not find the installed command.
What private or self-hosted registry options have self-hosters mentioned for Composer packages?
A self-hoster mentioned Packagist and GitLab as possible private or self-hosted registry options. Packagist was described as recommended, with cloud pricing noted as about 1k per year or per user.
Answers sourced from github.com, github.com, github.com, www.reddit.com
Community
- Private or self hosted registry options for composer/php ... - Reddit (reddit)
- Lightweight self-hosting composer package manager : r/selfhosted - Reddit (reddit)
- r/selfhosted on Reddit: Any music streaming server that handles ... (reddit)
Collected 48 days ago - public community threads