yiisoft/factory
A flexible factory for Yii3 that creates objects from class names, definitions, or callables, resolving constructor dependencies through a PSR-11 container. Ideal for configurable services and dependency injection setups.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| slick/di | 0.88 | Slick\DI is a lightweight dependency injection container for PHP that wires services through autowiring, explicit bindings, and lazy resolution. It offers a small, PSR-11 friendly API for managing object lifecycles in Laravel, Slim, and standalone applications. | 0 | 0 | 0 | 232 | 0 | 0.0 | 32.7 | NOASSERTION | 2 years ago | |
| svb/service-factory-bundle | 0.87 | svb/service-factory-bundle is a PHP bundle that provides a centralized service factory for constructing and wiring services, helping organize object creation and dependency configuration in Symfony applications. | 0 | 0 | 0 | 4K | 0 | 0.2 | 49.3 | MIT | — | |
| illuminate/container | 0.87 | The Illuminate Container is Laravel's powerful dependency injection container. It manages class dependencies, binds and resolves services, supports contextual and method injection, and provides a simple, flexible foundation for building decoupled PHP applications. | 34,987 | 322 | 12,028 | 2M | 55 | 78.2 | 60.4 | MIT | 3 days ago | |
| liip/container-wrapper-bundle | 0.87 | Symfony bundle that provides a lightweight wrapper around the service container, letting you inject a container interface into services and fetch dependencies lazily without coupling code to Symfony's full container. | 29 | 29 | 1 | 0 | 1 | 0.3 | — | — | 11 years ago | |
| rollerworks/sf-container-injector | 0.87 | A Symfony component that injects services from the container into objects and controllers, enabling lazy setter-based dependency injection without constructor wiring. Useful for legacy code and optional dependencies. | 0 | 0 | 4 | 20 | 0 | 0.1 | 12.9 | — | 12 years ago | |
| mnapoli/php-di | 0.87 | 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 | |
| yiisoft/yii-console | 0.87 | Yii Console provides a lightweight framework for building command-line applications with Yii3. Define commands, route arguments and options, handle input/output, generate help, and manage exit codes. It includes a console runner, command routing, and flexible I/O abstractions for extensible CLI tool... | 70 | — | 32 | — | 7 | 6.1 | 2.3 | BSD-3-Clause | 10 months ago |
|
| asaliev/symfony-yii2-bridge | 0.87 | — | 0 | 0 | 0 | 0 | 0 | 0.9 | — | MIT | 1 year ago | |
| bnf/di | 0.87 | Lightweight dependency injection container for PHP/Laravel projects. Configure bindings and resolve services automatically with simple, minimal setup—ideal for small apps or packages that need clean inversion of control without a heavy framework. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| yiisoft/data | 0.86 | yiisoft/data provides data providers, pagination, sorting, and filtering for Yii applications. A consistent API lets you read, paginate, sort, and filter data from arrays, databases, or custom sources, simplifying list and API development. | 46 | 46 | 16 | 16K | 1 | 3.1 | 35.5 | BSD-3-Clause | 10 months ago | |
| yii2tech/illuminate | 0.86 | Integrates Laravel's Illuminate components into Yii2, letting applications use familiar Illuminate services alongside native Yii2 features. Ideal for bridging the two frameworks and reusing Laravel packages in Yii2 projects. | 115 | — | 20 | — | 0 | 1.2 | — | NOASSERTION | — | |
| yokai/dependency-injection | 0.86 | yokai/dependency-injection is a lightweight Laravel/PHP package for managing class dependencies and service resolution, helping you bind, resolve, and inject objects through a simple container to keep application code cleaner and more testable. | 3 | 3 | 0 | 989 | 0 | 0.0 | 33.1 | MIT | 2 years ago | |
| phpyh/service-dumper-bundle | 0.86 | A Symfony bundle that dumps the services registered in your DI container, making it easy to inspect definitions, tags, and dependencies during development. Useful for debugging container configuration and understanding how services are wired together. | 24 | 24 | 2 | 28 | 1 | 0.6 | 4.5 | MIT | 2 years ago | |
| symfony/dependency-injection | 0.85 | 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 | |
| psr-discovery/http-factory-implementations | 0.85 | Discovers a PSR-17 HTTP factory at runtime by scanning for well-known implementations and returning the first available instance. Ideal for libraries/SDKs that want PSR-17 support without hard dependencies or user configuration. PHP 8.2+. | 7 | 7 | 3 | 517K | 0 | 1.7 | 55.3 | MIT | 1 year ago | |
| internal/container | 0.85 | 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 | |
| michael-rubel/laravel-enhanced-container | 0.85 | A lightweight extension for Laravel’s service container, offering convenient helpers for binding, resolving, and managing dependencies. Simplify contextual bindings, singletons, and instance handling while keeping service providers clean, expressive, and easier to test. | 88 | 88 | 3 | 562 | 0 | 0.8 | 11.9 | MIT | 1 year ago | |
| http-interop/http-factory | 0.85 | http-interop/http-factory defines standard interfaces for creating PSR-7 HTTP messages and URIs, providing a PSR-17 precursor API that decouples your code from concrete HTTP implementations. Install via Composer for interoperable factory support. | 60 | 62 | 3 | 2K | 0 | 0.2 | 15.8 | MIT | 8 years ago | |
| illuminatech/array-factory | 0.85 | Illuminatech/Array Factory is a small Laravel/PHP utility for building arrays from reusable definitions. It supports defaults, overrides, sequences, and nested values, making test data, fixtures, and configuration arrays easier to generate consistently. | 21 | — | 1 | — | 0 | 0.1 | — | NOASSERTION | — |
|
| yiisoft/injector | 0.84 | PSR-11 compatible dependency injector with autowiring. Resolves and injects dependencies when calling functions or creating objects, supports extra arguments by name or type, and handles variadic parameters. Works with any PSR-11 container. | 93 | 94 | 17 | 240K | 6 | 24.1 | 57.1 | BSD-3-Clause | 1 week ago |
How can I help you explore Laravel packages today?