charonlab/charon-container

Lightweight PHP implementation of the PSR-11 standard, offering a versatile Inversion of Control (IoC) container.

2.2.0 2024-03-02 21:13 UTC

This package is auto-updated.

Last update: 2024-04-27 13:53:58 UTC


README

PHP Version Require Latest Stable Version tests static analysis Total Downloads License

charon-container is an open-source implementation of the PHP-FIG PSR-11 standard, which defines a common interface for dependency injection containers. Aims to provide a simple and efficient Inversion of Control (IoC) container for PHP applications.

Features

  • PSR-11 Compliance: Adheres to the PSR-11 standard, ensuring compatibility with other components and frameworks that rely on this specification.
  • Dependency Injection (DI): Facilitates the injection of dependencies into your application components, promoting a modular and maintainable code structure.
  • Service Container: Acts as a service container, managing the instantiation and retrieval of objects throughout your application.
  • Simplicity and Performance: Focuses on simplicity and performance, providing a lightweight solution for dependency management.

Installation

Use the composer to install:

composer require charonlab/charon-container

Documentation

Documentation is at docs

Support

License

The MIT License (MIT). Please see License for more information.