composer/packagist is a server-side project on GitHub with 1.8k stars, written primarily in PHP. Package Repository Website - try https://packagist.com if you need your own -
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
Package Repository Website for Composer, see the
about page on
packagist.org for more.
This project is not meant for re-use.
It is open source to make it easy to contribute. We provide no support
if you want to run your own, and will do breaking changes without notice.
Check out Private Packagist if you want to
host your own packages.
Development
These steps are provided for development purposes only.
Requirements
PHP for the web app
NPM (or Docker) for the frontend build
Symfony CLI to run the web server
MySQL (or Docker) for the main data store
Redis (or Docker) for some functionality (favorites, download statistics)
git to crawl package repositories
Installation
Clone the repository
Install dependencies:
composer install
npm install
Ensure env vars are set up correctly, you probably need to set APP_MAILER_FROM_EMAIL, APP_MAILER_FROM_NAME and APP_DEV_EMAIL_RECIPIENT in .env.local. Set also MAILER_DSN if you'd like to receive email.
Start the web server:
symfony serve -d
Start MySQL & Redis:
docker compose up -d # or somehow run MySQL & Redis on localhost without Docker
This mounts the current working directory into the node container and runs npm install and npm run build automatically.
Run a CRON job bin/console packagist:run-workers to make sure packages update.
Run a CRON job bin/console packagist:project-transparency-log (e.g. every minute) to project audit log entries into the public package transparency log. See Transparency log backfill before enabling this on an existing database.
Run npm run build or npm run dev to build (or build&watch) css/js files. When using Docker run docker compose run node npm run dev to watch css/js files.
You should now be able to access the site, create a user, etc.
Transparency log backfill
package_transparency_log is projected from audit_log by packagist:project-transparency-log, which
only publishes what is in the package_transparency_log_queue outbox. A queue row is written at the
same time as the audit record itself, so nothing that predates the queue is ever published on its own
and the cron is safe to enable on a database with existing audit history.
To backfill the transparency log, use the following commands. On a database that already has audit history, run:
Seeded records are older than whatever is already in the log, so each one would otherwise warn about
being appended out of order. On a first backfill the log is empty and the option changes nothing, but
any drain run is where that warning is expected: a re-seed after making another audit type
projectable, or resuming an interrupted drain, logs one per record without it.
The seed command only ever enqueues package, version and ownership events, which carry their own
package and so backfill exactly as they happened. Account events (2FA, password, email, GitHub link)
carry no package and fan out to whoever maintains the package at projection time, so backfilling
them would publish old events against today's maintainer set, and a published entry cannot be
retracted.
Seeding is safe to re-run: it skips anything that already has a package_transparency_log entry or a
queue row. Seeded records are appended at the end of package_transparency_log, since an append-only
log cannot take insertions, so they appear as recent entries carrying old timestamps.
Fixtures
You can get test data by running the fixtures:
bin/console doctrine:fixtures:load --group base
bin/console doctrine:fixtures:load --group downloads --append
This will create some packages, update them from GitHub, populate them
with fake download stats, and assign a user named dev (with password: dev)
as their maintainer.
There is also a user user (with password: user) that has no access if you
need to check readonly views.
Finally there is a user admin (with password: admin) that has super admin
permissions.
Search
Search is optional locally: with no Algolia config the rest of the site works
normally, /search.json returns an error response and the search page renders
without results. To use the search, setup an
Algolia Account and configure following keys
in your .env.local:
Use a trusted HTTPS certificate for https://packagist.wip. For a different local
host, set WEBAUTHN_RP_ID to the hostname and WEBAUTHN_ORIGIN to the exact
origin, including any port.
The most recent commit recorded on composer/packagist was 3 months ago, based on the GitHub push timestamp. The repository has 496 forks — one of the better signals of community interest.
How does composer/packagist compare to other Backend projects?
composer/packagist is tracked by TopGit in the Backend category, with 1.8k GitHub stars and written in PHP. Browse the Backend topic page on TopGit to compare it against similar projects by stars and activity.
How many stars does composer/packagist have?
composer/packagist has 1.8k GitHub stars — refresh the page for the live number, or check github.com/composer/packagist. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
What is composer/packagist?
composer/packagist (composer/packagist) is a PHP project on GitHub. From the project's own README: Package Repository Website - try https://packagist.com if you need your own -
What language is composer/packagist written in?
composer/packagist is written primarily in PHP. GitHub's language field is based on the largest share of bytes in the default branch.
What topics is composer/packagist associated with?
GitHub's repository topics for composer/packagist: "packagist", "php". TopGit's editorial category is Backend.
Why is composer/packagist categorized under Backend?
TopGit places composer/packagist in the Backend category based on its GitHub topics and description (tagged: "packagist", "php"). Categories are assigned from real repository metadata, not editorial guesswork.
Read full README in the tab above.
Curious whether packagist is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about packagist.