Capsule 3: Clean, Concise, Composable Dependency Injection

This page summarizes the projects mentioned and recommended in the original post on /r/PHP

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • comparison

    Comparison between Capsule and other containers.

  • For a longer explanation by way of comparison, take a look at https://github.com/capsulephp/comparison -- you will find some other containers reviewed there.

  • kaly

    Minimalist and modern php framework

  • I've recently played with building a di container myself (relevant docs here https://github.com/lekoala/kaly/blob/master/docs/di.md and code here https://github.com/lekoala/kaly/blob/master/src/Di.php) and I thought using a plain array of definition is actually working quite well.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • bero

    Bero is a dependency injection container for PHP

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts