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 | 2K | 0 | 1.7 | 12.7 | 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 | — | 144 | 144 | 10 | 53K | 1 | 2.9 | 35.4 | — | 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,164 | 4,201 | 91 | 8M | 0 | 58.3 | 53.6 | MIT | 1 week 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 | 5 | 10K | 0 | 20.6 | 31.4 | MIT | 1 month 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 | 61K | 0 | 27.5 | 64.1 | MIT | 1 month 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 | 45K | 1 | 26.3 | 63.4 | MIT | 1 month ago | |
| hyperf/guzzle | 0.79 | — | 9 | 10 | 9 | 52K | 5 | 30.0 | 61.0 | MIT | 1 month ago | |
| hyperf/stringable | 0.78 | — | 0 | 0 | 0 | 44K | 0 | 27.4 | 64.1 | MIT | 1 month ago | |
| hyperf/engine | 0.78 | — | 6 | 6 | 7 | 98K | 0 | 15.6 | 58.3 | — | 8 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 | 38K | 0 | 17.8 | 63.2 | MIT | 2 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 | 55K | 0 | 26.9 | 64.1 | MIT | 1 month 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 | 339K | 3 | 30.1 | 53.0 | BSD-3-Clause | 2 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 | 54K | 14 | 15.9 | 41.1 | BSD-3-Clause | 8 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 | 105 | 2M | 5 | 30.8 | 52.9 | MIT | 4 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,667 | 2,768 | 302 | 1M | 0 | 22.4 | 36.5 | MIT | — | |
| hyperf/macroable | 0.72 | — | 2 | 2 | 0 | 55K | 0 | 24.1 | 63.8 | MIT | 1 month 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 | 117 | 1 | 1.0 | 12.3 | 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 | 39K | 0 | 20.1 | 63.5 | MIT | 1 month ago | |
| hyperf/codec | 0.69 | — | 0 | 0 | 0 | 47K | 1 | 24.6 | 64.1 | MIT | 1 month ago |
How can I help you explore Laravel packages today?