hyperf/contract
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| kleijnweb/php-api-descriptions | 0.84 | Parse and handle PHP API Description documents (OpenAPI-like) with utilities for loading, validating, and working with structured API metadata. Useful for tooling that needs to read API specs and generate clients, docs, or integrations. | 5 | 5 | 4 | 30 | 18 | 2.8 | 7.9 | LGPL-3.0 | — | |
| ranabd36/larathereum | 0.84 | — | 6 | 6 | 4 | 0 | 2 | 3.9 | — | MIT | 6 years ago | |
| hyperf/macroable | 0.83 | — | 2 | 2 | 0 | 55K | 0 | 24.1 | 63.8 | MIT | 1 month ago | |
| open-southeners/extended-php | 0.83 | Extended PHP helpers for modern apps: adds convenient functions, utilities, and small enhancements that complement core PHP to reduce boilerplate and speed up everyday development. Lightweight, easy to drop into existing projects. | 0 | 0 | 0 | 750 | 0 | 12.2 | 41.5 | MIT | 9 months ago | |
| alhames/apihelper | 0.83 | Laravel/PHP helper utilities for building API responses and common API tasks. Provides convenience methods for formatting output, handling errors, and streamlining controller/service code when creating REST-style endpoints. | 0 | 0 | 0 | 0 | 0 | 0.6 | — | MIT | 9 years ago | |
| cmoclyn/symfony-test-manager | 0.83 | — | 0 | 0 | 0 | 0 | 0 | 0.7 | — | MIT | 1 year ago | |
| bespoke-support/symfony-test-application | 0.83 | — | 1 | 1 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| axstrad/use-case-test-bundle | 0.83 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| common-gateway/first-test-bundle | 0.83 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| dragon-code/support | 0.83 | Dragon Code Support provides a lightweight collection of PHP/Laravel helpers, facades, and utility tools for everyday projects. Designed to be easily extended with new methods or classes, with a clear contribution and testing structure. | 23 | 23 | 5 | 481K | 0 | 25.3 | 62.8 | MIT | 4 months ago | |
| wp-starter/contracts | 0.83 | Laravel/PHP contract interfaces for a WordPress starter kit. Defines shared abstractions to keep packages decoupled and implementations swappable, providing a lightweight base for building WordPress integrations in a Laravel-style architecture. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 3 years ago | |
| draw/contracts | 0.82 | Lightweight PHP contracts for Draw packages. Provides shared interfaces and abstractions to standardize implementations across components, improving interoperability, testing, and decoupling in Laravel or framework-agnostic projects. | 0 | 0 | 0 | 517 | 0 | 0.0 | 42.7 | — | — | |
| symfony/contracts | 0.81 | Symfony Contracts provides small, domain-focused PHP interfaces, traits, and normative docblocks extracted from Symfony components. Use them as stable type hints for loose coupling, interoperability, and easy DI/autowiring with battle-tested implementations. | 3,931 | 3,946 | 19 | 407K | 0 | 39.2 | 32.3 | MIT | 1 month ago | |
| boson-php/http-contracts | 0.81 | Lightweight PHP contracts for HTTP clients, requests, responses, and middleware. Provides stable interfaces to decouple your app from конкрет implementations, making it easier to swap HTTP libraries, mock in tests, and share consistent types across packages. | 0 | 0 | 0 | 35 | 0 | 0.0 | 21.5 | MIT | — | |
| symfony/service-contracts | 0.81 | Symfony Service Contracts provides lightweight, battle-tested abstractions extracted from Symfony components. Use these shared interfaces to build interoperable libraries and apps with proven semantics and consistent behavior across the Symfony ecosystem. | 2,610 | 2,612 | 7 | 20M | 0 | 32.8 | 62.0 | MIT | 1 month ago | |
| hyperf/codec | 0.81 | — | 0 | 0 | 0 | 47K | 1 | 24.6 | 64.1 | MIT | 1 month ago | |
| hyperf/stdlib | 0.81 | 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/pimple | 0.81 | hyperf/pimple 是基于 pimple/pimple 的轻量级 PSR-11 容器组件,提供简单的 ContainerFactory 创建容器与 Provider 注册机制,帮助在非 Hyperf 框架中低成本接入 Hyperf 组件(如 translation/config),便于集成与复用。 | 3 | 3 | 0 | 2K | 0 | 1.8 | 37.2 | — | 3 years ago | |
| hyperf/stringable | 0.81 | — | 0 | 0 | 0 | 44K | 0 | 27.4 | 64.1 | MIT | 1 month ago | |
| illuminate/contracts | 0.81 | Laravel’s core contract interfaces for frameworks and packages. Provides stable abstractions for services like cache, queue, events, routing, validation, and more, enabling clean dependency injection and easy swapping of implementations across the ecosystem. | 706 | 713 | 82 | 3M | 0 | 6.1 | 49.2 | MIT | — |
How can I help you explore Laravel packages today?