talira

Compare

PHP-DIlaminas-servicemanagerPimple
What it isThe dependency injection container for humansA factory-driven dependency injection container for PHP from the Laminas ProjectSmall dependency injection container for PHP
KindOpen sourceOpen sourceOpen source
Trust0.400.480.38
Stars27691602660
Last commit2025-12-312026-11-132026-02-26
LicenceMITBSD-3-ClauseMIT
PricingFree and open sourceFree and open sourceFree and open source
Free tierYesYesYes
Self-hostable———
Ways to run it———
SOC 2———
HIPAA———
SSO———
API———
Plugins———
MCP server———
CompanyMatthieu NapoliLaminas ProjectFabien Potencier
Features
  • autowiring of constructor dependencies
  • PHP definition files and attribute-based injection
  • definition extensions and overriding
  • lazy injection and injection into existing instances
  • implements the PSR-11 container interface
  • documented integrations with Symfony, Slim and other frameworks
  • factory-driven service container implementing PSR-11 (versions 1.1 and 2)
  • delegators and lazy services
  • plugin managers and abstract factories
  • reflection-based and configuration-based autowiring factories
  • CLI commands that generate factories and ahead-of-time factory code
  • services defined as anonymous functions and created lazily
  • shared services and factory services
  • parameters and protected closures
  • extending existing service definitions
  • service providers to group definitions
Limitations
  • Needs PHP 8.0 or later.
    • Closed for changes: no new features, only compatibility with newer PHP versions and security fixes.