hyperf/pimple
hyperf/pimple 是基于 pimple/pimple 的轻量级 PSR-11 容器组件,提供简单的 ContainerFactory 创建容器与 Provider 注册机制,帮助在非 Hyperf 框架中低成本接入 Hyperf 组件(如 translation/config),便于集成与复用。
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| friends-of-behat/cross-container-extension | 0.82 | Deprecated Behat extension that lets you inject services and parameters across multiple service containers. Intended for use with FriendsOfBehat ContextServiceExtension or ServiceContainerExtension; migrate to SymfonyExtension v2 instead. | 93 | 98 | 5 | 3K | 0 | 1.7 | 15.2 | MIT | 8 years ago | |
| mrclay/props-dic | 0.82 | A lightweight PHP DI container that exposes services as typed properties and factory methods ($c->foo, $c->new_foo()), letting you add @property/@method PHPDoc for IDE autocomplete and static analysis. Supports lazy resolution, caching, and factories. | 35 | 35 | 8 | 306K | 2 | 1.6 | 54.9 | MIT | 2 years ago | |
| polishsymfonycommunity/symfony-mocker-container | 0.82 | — | 143 | 143 | 10 | 48K | 1 | 2.9 | 34.8 | — | 3 years ago | |
| symfony/dependency-injection | 0.81 | Symfony DependencyInjection standardizes and centralizes object construction with a powerful service container. Define services and parameters, manage autowiring and configuration, and optimize performance through compilation for cleaner, decoupled apps. | 4,166 | 4,197 | 93 | 9M | 0 | 58.5 | 54.2 | MIT | 4 weeks ago | |
| friends-of-behat/service-container-extension | 0.80 | Declare custom Symfony DI services in Behat without writing a full extension. Import XML/YAML/PHP service definition files via behat.yml so your contexts and helpers can be wired through the Behat service container. | 114 | 114 | 4 | 12K | 0 | 19.1 | 31.8 | MIT | 3 months ago | |
| hyperf/contract | 0.80 | Core contracts for Hyperf: a set of lightweight PHP interfaces that define common behaviors across the framework (DI, events, middleware, serialization, etc.). Helps decouple components, improve testability, and keep implementations swappable. | 4 | 4 | 4 | 72K | 0 | 25.1 | 62.9 | MIT | 3 months ago | |
| hyperf/collection | 0.80 | A lightweight, fluent Collection implementation for Hyperf/PHP. Provides convenient methods for mapping, filtering, reducing, grouping, plucking, and more, with an API similar to Laravel Collections for handling arrays and iterables cleanly and safely. | 0 | 0 | 1 | 49K | 1 | 26.0 | 63.3 | MIT | 3 months ago | |
| hyperf/guzzle | 0.79 | — | 9 | 10 | 9 | 56K | 5 | 26.8 | 60.0 | MIT | 3 months ago | |
| hyperf/stringable | 0.78 | — | 0 | 0 | 0 | 44K | 0 | 27.4 | 64.1 | MIT | 3 months ago | |
| hyperf/engine | 0.78 | — | 6 | 6 | 7 | 114K | 0 | 14.3 | 57.7 | — | 10 months ago | |
| php-standard-library/interoperability | 0.77 | Lightweight PHP interoperability helpers in the php-standard-library ecosystem. Provides small, standards-oriented utilities to bridge common interfaces and behaviors between components, improving compatibility and reuse without pulling in heavy dependencies. | 1 | 1 | 0 | 40K | 0 | 17.2 | 62.9 | MIT | 3 months ago | |
| hyperf/event | 0.77 | hyperf/event is a lightweight event dispatcher for Hyperf applications. Define events and listeners, dispatch synchronously or via async mechanisms, and keep your domain decoupled. Integrates cleanly with Hyperf’s DI and coroutine-friendly runtime. | 3 | 3 | 1 | 56K | 0 | 24.8 | 63.1 | MIT | 3 months ago | |
| sabre/http | 0.77 | sabre/http wraps PHP’s HTTP superglobals and output functions into easy-to-mock Request and Response objects. Use it to read input, headers, and body via a consistent API, and to generate responses cleanly in apps and libraries. | 190 | 197 | 61 | 356K | 3 | 29.2 | 53.0 | BSD-3-Clause | 3 months ago | |
| yiisoft/di | 0.76 | PSR-11 compatible dependency injection container for PHP 8.1+. Supports autowiring plus constructor, method and property injection, aliasing, service providers, delegated/composite containers, circular reference detection, and state reset for long-running workers. | 236 | 239 | 49 | 43K | 14 | 15.2 | 39.1 | BSD-3-Clause | 9 months ago | |
| league/container | 0.75 | league/container is a lightweight PSR-11 dependency injection container for PHP. Define entries, factories, and autowiring-friendly services to manage application dependencies cleanly, with modern PHP support and solid tooling for testing and analysis. | 868 | 908 | 104 | 2M | 5 | 29.8 | 52.5 | MIT | 6 months ago | |
| pimple/pimple | 0.74 | Pimple is a small Dependency Injection Container for PHP. It helps you manage services and parameters, define lazy-loaded objects via closures, share singletons, and extend existing definitions—ideal for simple apps and libraries needing lightweight DI without a framework. | 2,665 | 2,771 | 300 | 1M | 0 | 22.3 | 36.7 | MIT | — | |
| hyperf/macroable | 0.72 | — | 2 | 2 | 0 | 55K | 0 | 24.1 | 63.8 | MIT | 3 months ago | |
| zendframework/zend-pimple-config | 0.72 | zendframework/zend-pimple-config integrates Zend Framework configuration with the Pimple dependency injection container. It lets you load and merge config data and wire services/parameters into a Pimple container for cleaner, centralized DI setup. | 6 | 6 | 2 | 83 | 1 | 1.0 | 10.8 | BSD-3-Clause | 7 years ago | |
| hyperf/stdlib | 0.69 | Hyperc/stdlib provides foundational utilities for the Hyperf ecosystem: common helpers, collections, array and string tools, and lightweight polyfills used across components. A small, reusable standard library for building high-performance PHP apps and services. | 0 | 0 | 0 | 42K | 0 | 19.6 | 63.2 | MIT | 3 months ago | |
| hyperf/codec | 0.69 | — | 0 | 0 | 0 | 54K | 1 | 22.5 | 63.0 | MIT | 3 months ago |
How can I help you explore Laravel packages today?