cekta/di

psr/container implementation for humans

Maintainers

Details

github.com/cekta/di

Source

Issues

Installs: 355

Dependents: 0

Suggesters: 0

Security: 0

Stars: 79

Watchers: 10

Forks: 7

Open Issues: 1

pkg:composer/cekta/di

v2.0.1 2025-07-04 18:16 UTC

This package is auto-updated.

Last update: 2025-10-08 23:34:40 UTC


README

Telegram chat Mutation testing badge Latest Stable Version License

psr/container implementation for humans

Features

  • Zero cost
  • Supports opcache compilation (fast).
  • Supports Autowiring with automatic constructor-based configuration
  • Autowiring support Union Types, Intersection Types, DNF Types, and variadic arguments
  • Allows you to manually configure any dependency via closures.
  • Support interface and abstract classes
  • High code quality (see the badges).

Install via composer

composer require cekta/di

Example usage

Best example is workging autotest with assertation and comments