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 | 63 | 18 | 2.8 | 14.5 | LGPL-3.0 | — | |
| ranabd36/larathereum | 0.84 | — | 6 | 6 | 4 | 0 | 2 | 3.9 | — | MIT | 6 years ago | |
| hyperf/macroable | 0.83 | 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 | |
| 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 | 286 | 0 | 7.2 | 34.0 | MIT | 1 year 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 | A collection of handy helpers and tools for any PHP project, available via Composer as dragon-code/support. Easily extend it with your own methods and classes, backed by tests and facades. | 23 | 23 | 5 | 1M | 0 | 9.2 | 43.1 | MIT | 7 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 | 370 | 0 | 0.0 | 35.5 | — | — | |
| symfony/contracts | 0.81 | Symfony Contracts is a set of small, consistent PHP interfaces and traits extracted from Symfony components. They provide proven abstractions for loose coupling and interoperability, helping you type-hint services and reuse battle-tested implementations across frameworks and PSR-compatible libraries... | 3,928 | 3,931 | 19 | 594K | 0 | 37.9 | 34.5 | MIT | 2 months 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 | 23 | 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,612 | 2,612 | 7 | 20M | 0 | 31.6 | 61.4 | MIT | 2 months ago | |
| hyperf/codec | 0.81 | — | 0 | 0 | 0 | 54K | 1 | 22.5 | 63.0 | MIT | 5 months ago | |
| hyperf/stdlib | 0.81 | 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 | 5 months ago | |
| hyperf/pimple | 0.81 | hyperf/pimple 是基于 pimple/pimple 的轻量级 PSR-11 容器组件,提供简单的 ContainerFactory 创建容器与 Provider 注册机制,帮助在非 Hyperf 框架中低成本接入 Hyperf 组件(如 translation/config),便于集成与复用。 | 3 | 3 | 0 | 3K | 0 | 1.8 | 38.7 | — | 3 years ago | |
| hyperf/stringable | 0.81 | 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 | |
| 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. | 705 | 712 | 81 | 4M | 0 | 6.1 | 51.5 | MIT | — |
How can I help you explore Laravel packages today?