ixnode/php-container
A lightweight PHP dependency injection container for registering, binding, and resolving services. It offers a simple API for managing object dependencies, helping keep application code decoupled, organized, and easier to test.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| godruoyi/easy-container | 0.85 | godruoyi/easy-container is a lightweight PHP/Laravel service container that simplifies dependency injection, binding, and singleton management. Its small API makes registering and resolving services fast, clean, and easy to integrate into Laravel applications. | 33 | — | 4 | — | 0 | 0.6 | — | — | 3 years ago | |
| vanilla/garden-container | 0.85 | Vanilla's Garden Container is a lightweight PSR-11 dependency injection container for PHP, offering service binding, singletons, factory definitions, lazy resolution, and automatic constructor injection. It integrates with the Garden framework and Laravel-style apps, keeping object wiring simple, ex... | 2 | — | 2 | — | 0 | 0.1 | — | MIT | 1 year ago |
|
| ixnode/php-exception | 0.83 | ixnode/php-exception offers a structured exception base class and helpers for PHP and Laravel, making it easy to define custom exceptions, attach contextual data, log errors, and render consistent error responses across your application. | 2 | — | 0 | — | 0 | 0.0 | — | MIT | 1 year ago |
|
| internal/container | 0.82 | A lightweight service container for Laravel and PHP applications, offering straightforward bindings, singleton management, and dependency resolution to keep internal wiring explicit, modular, and testable. Ideal for package internals and smaller codebases that need clean, predictable object construc... | 1 | 0 | 0 | 60K | 1 | 17.3 | 63.6 | BSD-3-Clause | 1 month ago | |
| league/container | 0.82 | League/Container is a fast, lightweight, PSR-11 compliant dependency injection container for PHP. It offers constructor autowiring, service providers, inflectors, and lazy loading out of the box, requires no configuration, and supports PHP 8.3, 8.4, and 8.5. | 864 | 906 | 104 | 3M | 5 | 25.7 | 53.6 | MIT | 7 months ago | |
| ixnode/php-array-to-object | 0.82 | ixnode/php-array-to-object converts nested PHP arrays into object instances, giving you property-style access instead of array keys. A small, dependency-free helper for config, API payloads, and JSON-decoded data. | 1 | 1 | 0 | 1 | 0 | 0.3 | 2.4 | MIT | 3 years ago | |
| mnapoli/php-di | 0.81 | PHP-DI is a practical, feature-rich dependency injection container for PHP. It offers autowiring, constructor injection, flexible definitions, lazy dependencies, and PSR-11 compatibility, helping you build cleaner, more testable applications with minimal configuration and boilerplate. | 2,773 | 2,775 | 320 | 421 | 56 | 40.5 | 24.0 | MIT | 1 year ago | |
| spiral/core | 0.81 | Spiral Core provides the framework’s dependency injection container with IoC scopes and injectable configuration support. Use it to manage bindings, resolve services, and handle scoped lifecycles in Spiral apps. | 20 | 19 | 6 | 493K | 0 | 7.2 | 55.3 | MIT | 6 years ago | |
| ixnode/php-checker | 0.81 | ixnode/php-checker is a lightweight PHP package offering reusable checker utilities for validating common data types and conditions. Its simple, focused methods help keep validation logic clean, readable, and consistent across Laravel and plain PHP projects. | 1 | 1 | 0 | 69 | 0 | 0.3 | 21.4 | MIT | 3 years ago | |
| slince/di | 0.81 | A lightweight, PSR-11 compatible dependency injection container for PHP. Slince DI supports constructor and setter injection, service providers, aliases, lazy loading, and shared instances, giving you a simple, flexible foundation for managing object dependencies in small to medium applications. | 20 | — | 5 | — | 0 | 0.6 | 0.4 | — | — |
|
| sanmai/di-container | 0.80 | A straightforward PSR-11 dependency injection container with zero-configuration autowiring. It resolves constructor dependencies via reflection, reuses created objects, maps interfaces to concrete implementations, and supports builder objects for complex construction. | 7 | 7 | 4 | 1M | 0 | 24.2 | 63.6 | BSD-3-Clause | 2 months ago | |
| phpbench/container | 0.80 | Lightweight, extensible PHP dependency injection container with parameters and service tagging. Register services as closures, load extensions to provide defaults and wiring, and discover tagged services. Implements container-interop for portability. | 15 | 16 | 6 | 744K | 0 | 4.8 | 57.3 | MIT | 1 year ago | |
| ixnode/php-json-schema-validator | 0.80 | A PHP library for validating JSON data against JSON Schema definitions. It checks data against schema constraints and reports validation errors, helping ensure API payloads and config files match expected structures. Works in Laravel or standalone PHP projects needing schema validation. | 1 | 1 | 0 | 2 | 0 | 0.0 | 4.2 | MIT | 1 year ago | |
| sergix44/container | 0.80 | A lightweight PSR-11 compatible dependency injection container for PHP, with bindings, singletons, aliases, and automatic constructor resolution. It keeps service wiring simple and testable for small apps and libraries, without requiring a full framework. | 5 | 5 | 0 | 47K | 1 | 0.1 | 53.8 | MIT | 2 years ago | |
| aura/di | 0.80 | Aura.Di is a serializable dependency injection container for PHP 8+ supporting constructor and setter injection, interface and trait awareness, configuration inheritance, and PSR-11 compliance. It has no external implementation dependencies and installs via Composer as aura/di. | 352 | 357 | 63 | 16K | 1 | 33.1 | 27.2 | MIT | 4 days ago | |
| avris/container | 0.80 | A lightweight PHP dependency injection container with simple autowiring and service definitions. Ideal for small apps and libraries needing PSR-style container access, configurable bindings, and clean object construction without a full framework. | 0 | 0 | — | 9 | — | 0.0 | 13.8 | — | — | |
| psr-discovery/container-implementations | 0.80 | Auto-discovers an available PSR-11 container at runtime by checking for well-known implementations and returning the first match. Ideal for SDKs/libraries that want PSR-11 support without hard dependencies or user configuration. | 6 | 6 | 1 | 478K | 0 | 1.3 | 55.3 | MIT | 1 year ago | |
| container-interop/service-provider | 0.79 | Experimental PSR draft to standardize PHP service providers (“bundles/modules”) for PSR-11 containers. Defines interfaces for registering factories and extensions so modules can share container definitions across frameworks. Not stable before 1.0; expect breaking changes. | 70 | 71 | 10 | 14K | 4 | 3.2 | 32.2 | — | 2 years ago | |
| symfony/dependency-injection | 0.79 | The Symfony DependencyInjection component standardizes and centralizes object construction in your application, offering a flexible service container with autowiring, configuration, and compilation support. | 4,167 | 4,200 | 92 | 13M | 0 | 58.4 | 56.5 | MIT | 1 week ago | |
| php-di/php-di | 0.79 | PHP-DI is a practical, powerful, framework-agnostic dependency injection container for PHP. It helps manage services and wiring with autowiring and flexible configuration, making applications easier to build, test, and maintain across any framework. | 2,772 | 2,855 | 320 | 4M | 56 | 49.2 | 64.3 | MIT | 1 year ago |
How can I help you explore Laravel packages today?