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 | 1K | 0 | 1.7 | 11.4 | 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 | — | 141 | 143 | 10 | 48K | 1 | 2.9 | 34.9 | — | 4 years ago | |
| symfony/dependency-injection | 0.81 | 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 | |
| friends-of-behat/service-container-extension | 0.80 | Behat extension that lets you declare your own services inside the Behat container without writing an extension, by importing XML, YAML, or PHP service definition files into behat.yml. | 114 | 114 | 4 | 13K | 0 | 15.1 | 31.6 | MIT | 4 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 | 4 months ago | |
| hyperf/collection | 0.80 | A fluent, chainable collection library for Hyperf, offering a rich set of array and dataset manipulation methods such as map, filter, reduce, groupBy, and lazy collections. It simplifies complex data processing with an expressive, Laravel-style API for PHP applications. | 6,912 | 0 | 1,296 | 61K | 365 | 88.4 | 45.6 | MIT | 3 weeks ago | |
| hyperf/guzzle | 0.79 | — | 9 | 10 | 9 | 56K | 5 | 26.8 | 60.0 | MIT | 4 months ago | |
| hyperf/stringable | 0.78 | A fluent, object-oriented string helper for Hyperf. Wrap any string in Stringable and chain Laravel-style, multibyte-safe methods such as append, camel, slug, contains, replace, and when for cleaner, more readable text handling in your Hyperf applications. | 0 | 0 | 0 | 44K | 0 | 27.7 | 64.1 | MIT | 1 month ago | |
| hyperf/engine | 0.78 | — | 6 | 6 | 7 | 114K | 0 | 14.3 | 57.7 | — | 11 months ago | |
| php-standard-library/interoperability | 0.77 | Interfaces for converting between PSL types and native PHP stdlib and intl equivalents, providing a consistent bridge so your code can move smoothly between PSL collections, strings, and other types and their built-in PHP counterparts. | 1 | 1 | 0 | 112K | 0 | 21.4 | 64.8 | MIT | 1 week 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. | 6,912 | 3 | 1,296 | 74K | 365 | 87.5 | 46.7 | MIT | 3 weeks ago | |
| sabre/http | 0.77 | sabre/http wraps PHP's messy superglobals and header()/echo output into clean, mockable Request and Response objects. Instantiate once via Sapi::getRequest(), then pass it around with dependency injection, typehinting on RequestInterface. A lightweight alternative to Symfony HttpFoundation, born fro... | 190 | 197 | 60 | 497K | 3 | 25.0 | 53.4 | BSD-3-Clause | 5 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 | 238 | 49 | 39K | 14 | 10.7 | 36.7 | BSD-3-Clause | 11 months ago | |
| league/container | 0.75 | 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 | |
| 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,660 | 2,767 | 299 | 1M | 0 | 22.3 | 38.0 | MIT | — | |
| hyperf/macroable | 0.72 | Hyperf Macroable provides a lightweight trait for adding custom methods to classes at runtime using closures. Register macros, mixins, and dynamic behaviors without editing original source, making Hyperf components easier to extend and reuse. Includes helpers to check and flush registered macros. | 6,913 | 2 | 1,297 | 67K | 365 | 85.7 | 46.2 | MIT | 3 weeks 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 | 4 | 1 | 1.0 | 1.9 | BSD-3-Clause | 7 years ago | |
| hyperf/stdlib | 0.69 | Hyperf Stdlib is the shared standard library for the Hyperf framework, bundling common utilities, helpers, and base classes that other Hyperf components depend on. It provides reusable, coroutine-friendly building blocks for PHP applications. | 0 | 0 | 0 | 46K | 0 | 15.8 | 61.3 | MIT | 4 months ago | |
| hyperf/codec | 0.69 | — | 0 | 0 | 0 | 54K | 1 | 22.5 | 63.0 | MIT | 4 months ago |
How can I help you explore Laravel packages today?