whichBundle
I'm a huge fan of third-party components, and especially Symfony bundles. If someone else has already solved the problem and made it available, yay!
But Symfony has a huge number of bundles, and I'm only interested in the ones that work with my stack: the latest releases of PHP and Symfony. So I wrote whichBundle to filter out the noise of older bundles.
Now with an MCP connector! Ask your own AI assistant which bundle to use, and it answers from this catalog.
What you can search
Search covers everything harvested, with facets for the Symfony and PHP versions each package supports, so you can narrow it yourself.
Ask and the MCP connector only answer with modern packages: those that support PHP 8.4 or later and Symfony 8.1 or later (or don't depend on Symfony at all). Only these get README embeddings, so meaning-based search costs nothing for packages nobody on a current stack would pick.
How it works
- Harvesting. A scheduled job follows Packagist's change feed. Each package then moves through a Symfony Workflow (load, check versions, fetch the README, embed if modern), with the steps run by Symfony Messenger workers.
- Search. Elasticsearch powers the faceted search (Symfony and PHP versions, vendor, status) and a meaning-based search over README embeddings from OpenAI
text-embedding-3-small, stored in PostgreSQL and copied into Elasticsearch. Both are combined when you ask a question. - Ask and MCP. The Ask page is a Symfony AI agent running Claude. It uses the same four tools the MCP server exposes at
/mcp: find packages, read one package, search Packagist itself, and count the catalog. - The stack. Symfony 8.1 on PHP 8.5 under FrankenPHP, PostgreSQL with Doctrine, AssetMapper and Stimulus with the Tabler theme. It's deployed with Dokku on a Hetzner server behind Cloudflare.
The source is on GitHub.