talira

Compare

laminas-servicemanagerPHP-DIPimple
What it isA factory-driven dependency injection container for PHP from the Laminas ProjectThe dependency injection container for humansSmall dependency injection container for PHP
KindOpen sourceOpen sourceOpen source
Trust0.480.400.38
Stars16027692660
Last commit2026-11-132025-12-312026-02-26
LicenceBSD-3-ClauseMITMIT
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———
CompanyLaminas ProjectMatthieu NapoliFabien Potencier
Features
  • 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
  • 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
  • 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.