PatternStackPatternStack
PatternStack
backend • packagist

Best Slim Packages

Build applications with Slim.

Rankings based on adoption rates from 7+ real Slim projects on GitHub.

Analyze Your Slim ProjectView Slim Trends
7+
Projects Analyzed
4
Package Relationships
5
Top Packages

Top Slim Packages by Adoption

Ranked by usage across 7+ real Slim projects

1
friendsofphp/php-cs-fixer
packagist
13.5k
stars
239.3M
weekly
72%
adoption
2
phpstan/phpstan
packagist
349.6M
weekly
72%
adoption

How We Rank the Best Slim Packages

PatternStack analyzes 7+ real Slim projects on GitHub to determine which packages developers actually use in production. Unlike download counts or star counts alone, our rankings reflect co-occurrence patterns — which packages are used together in successful projects.

Each package is scored by adoption rate (how many Slim projects include it), confidence (how consistently it appears with other popular packages), and health (whether it has known security vulnerabilities or is deprecated).

Packages with unpatched CVEs are automatically excluded from rankings. Data refreshes continuously as new projects are synced, so you always see what developers are choosing now, not what was popular years ago.

The top Slim packages include friendsofphp/php-cs-fixer (72% adoption), phpstan/phpstan (72%), and phpunit/phpunit (72%). These form the core of most production Slim stacks.

Choosing Packages for Your Slim Project

When starting a new Slim project, the package choices you make early on shape your entire architecture. PatternStack helps you make informed decisions by showing what combinations work well together, based on real project data.

Instead of relying on blog posts or opinions, you can see exactly what percentage ofSlim projects use each package and what they pair it with. This is especially valuable for choosing between alternatives — like deciding between ORMs, authentication libraries, or testing frameworks.

Explore More

Slim Trends

See which Slim packages are rising and declining

Compare Tools

PatternStack vs ChatGPT, npm trends, and more

Documentation

Set up PatternStack with Claude Code or Cursor

Pricing

Free to start, Pro for unlimited packages

Why PatternStack?

Crowdsourced Data

Rankings based on what real Slim projects actually use in production—not opinions.

Security Filtered

Packages with known CVEs are automatically filtered out. Ship with confidence.

Always Fresh

Data updates continuously. See what's being adopted now, not what was popular years ago.

Ready to Optimize Your Slim Project?

Connect your GitHub to get personalized package recommendations based on your specific stack and dependencies. Free to start.

Connect GitHub — FreeView Pricing

Explore Other Frameworks

Next.js
Nuxt
Astro
Remix
SvelteKit
Gatsby
SolidStart
Qwik
Angular

© 2026 PatternStack. Community-driven package intelligence.

3
phpunit/phpunit
packagist
20.0k
stars
923.4M
weekly
72%
adoption
4
squizlabs/php_codesniffer
packagist
1.5k
stars
371.0M
weekly
72%
adoption
5
psr/http-factory
packagist
1.9k
stars
708.5M
weekly
72%
adoption

Want personalized recommendations for your Slim project?

Get Personalized Recommendations
Vue
Strapi
Payload
Keystatic
Keystone
Directus