About Packagist
Packagist is the PHP package repository. It aggregates public packages that anyone can install with Composer, and the homepage reports more than 475,000 packages. A post from September 2026 marks fifteen years since monolog/monolog became package ID 1 in 2011. The code is released under the MIT licence.
To use a package, you list dependencies in a composer.json file at the project root, run Composer to install them, and load vendor/autoload.php in your code. To publish, you put a composer.json with the package name in your repository, check it with composer validate, then log in or register and submit the repository. Recent news covers supply chain security, immutable versions and a sponsorship program.
The homepage also shows live counts of published packages, versions and installs, and a news feed that tracks Composer releases such as 2.10, which added native malware filtering.
Key features
- Aggregates public packages installable with Composer
- Dependencies declared in composer.json
- Autoloading of installed dependencies
- Package validation before submission
- Package browsing and search
Good fit for
- Finding PHP libraries
- Publishing a PHP package
- Managing project dependencies
Packagist: questions and answers
- What is Packagist used for?
- Packagist is the main public package repository for PHP, listing packages that anyone can install with Composer. It is a good fit for finding PHP libraries, publishing a PHP package and managing project dependencies.
- Is Packagist open source?
- Yes. Packagist is open source under the MIT licence. Its source code is on GitHub at composer/packagist and is written mainly in PHP.
- Is Packagist free?
- Yes. Packagist is open source, so the software itself is free to use.
- Can I self-host Packagist?
- Yes. Packagist can be self-hosted on your own server or infrastructure.
- What is Packagist an alternative to?
- Packagist is an open-source alternative to Cloudsmith. Other open-source alternatives to Cloudsmith include Harbor, Gitea and Harness.
- Is Packagist actively maintained?
- Yes. The most recent commit to Packagist was on 12 November 2026. The project has 1.8k stars on GitHub, with 2 added in the last 30 days.
Open-source alternatives to Packagist
See all
Harbor
CI/CD & DevOps
An open source trusted cloud native registry project that stores, signs, and scans content
Apache-2.0vs JFrog★ 30k
Gitea
CI/CD & DevOps
Gitea - Git with a cup of tea! Painless self-hosted all-in-one software development servic
MITvs Bitbucket★ 59k
Harness
CI/CD & DevOps
Harness Open Source is an end-to-end developer platform with Source Control Management, CI
Apache-2.0vs GitHub Actions★ 39k
GitLab Community Edition
CI/CD & DevOps
Open-core GitLab edition you install yourself, with Git hosting, CI/CD and issue tracking
MITvs GitHub★ 25k
OneDev
CI/CD & DevOps
Git, issues, pull requests, CI/CD, packages, wiki, and workspaces in one place. Assign wor
MITvs Bitbucket★ 15kMac Cleaner Cli
Open source
Free macOS CLI to clean disk space — caches, logs, Homebrew, Xcode. Open-source alternativ
MITvs CleanMyMac★ 2k

