awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
symfony avatar

symfony/contracts

0
View on GitHub↗
3,941 estrellas·19 forks·PHP·MIT·5 vistassymfony.com/contracts↗

Contracts

This project is a PHP interface library that provides a component interoperability layer. It consists of a set of framework-agnostic contracts and standardized definitions that enable different libraries to work together via a consistent contract.

The library focuses on providing minimal shared interfaces and API definitions, allowing software components to be used across different PHP projects regardless of the underlying framework. This approach decouples application logic from concrete framework implementations.

The project specifically covers service container abstraction and dependency injection standardization. By defining common interfaces for accessing service containers, it ensures interoperability between different container implementations and allows components to retrieve dependencies across various environments.

Features

  • Dependency Injection Interoperability - Standardizes how objects interact with dependency injection containers to enable swapping of implementation libraries.
  • Interface-Based Decoupling - Provides generic interfaces that allow services to remain compatible across different components and versions.
  • PHP Interoperability Libraries - Provides a shared set of API definitions that enable decoupled components to be used across various PHP projects.
  • PHP Standard Interface Implementations - Defines common interfaces and contracts ensuring PHP libraries can work together without framework dependencies.
  • Interface Contracts for Classes - Defines minimal shared contracts that allow disparate components to interact without depending on concrete implementations.
  • Service Container Interfaces - Establishes a consistent way for components to interact with a service container to retrieve dependencies.
  • Dependency Injection Containers - Defines standard ways for objects to access services and containers to facilitate implementation swapping.
  • Framework Agnostic Interfaces - Provides minimal shared interfaces that enable software components to be used across different PHP projects.
  • Interoperability Layers - Provides a set of standardized definitions that enable different libraries to work together via a consistent contract.
  • Logic Abstraction Interfaces - Creates a shared layer of interfaces enabling PHP libraries to communicate without tying them to a specific framework.
  • Container Interface Standards - Provides standardized definitions for retrieving services from a container to ensure interoperability.
  • Type-Safe API Contracts - Employs PHP type declarations to enforce a consistent API surface across different library versions.

Historial de estrellas

Gráfico del historial de estrellas de symfony/contractsGráfico del historial de estrellas de symfony/contracts

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Alternativas open-source a Contracts

Proyectos open-source similares, clasificados según cuántas características comparten con Contracts.
  • php-fig/containerAvatar de php-fig

    php-fig/container

    10,012Ver en GitHub↗

    This project is a shared technical specification and standard interface for dependency injection containers in PHP. It defines a common set of interfaces for retrieving services and dependencies, ensuring that different container implementations remain interoperable across the PHP ecosystem. By establishing a standardized API for dependency retrieval, the project allows developers to create libraries that function with any compliant container. This prevents vendor lock-in and enables different container implementations to be swapped without requiring changes to the application code. The spec

    PHP
    Ver en GitHub↗10,012
  • code4craft/tiny-springAvatar de code4craft

    code4craft/tiny-spring

    4,089Ver en GitHub↗

    tiny-spring is a Java inversion of control container and aspect-oriented programming framework. It provides a system for managing object lifecycles and dependency injection to decouple application components. The project features a bytecode proxy generator that enables method interception and behavioral modification for classes that do not implement interfaces. It uses pointcut expressions to match specific classes and methods for the execution of cross-cutting logic via dynamic proxies. The framework manages singleton components and resolves object dependencies using lazy initialization. Ap

    Java
    Ver en GitHub↗4,089
  • containernetworking/cniAvatar de containernetworking

    containernetworking/cni

    6,050Ver en GitHub↗
    Gocontainersdockerkubernetes
    Ver en GitHub↗6,050
  • derekyrc/mini-springAvatar de DerekYRC

    DerekYRC/mini-spring

    6,360Ver en GitHub↗

    mini-spring is a Java dependency injection framework and inversion of control container. It manages the full lifecycle of beans, including instantiation, property population, and scope management, while providing a system for automating the wiring of components. The project implements a Java AOP framework that uses dynamic proxies to intercept method calls for cross-cutting logic. It also functions as a Java component scanner to automatically discover and register managed objects via annotations and as a Java event bus to decouple components through a publish-subscribe multicast system. The

    Javamini-springspringspring-boot
    Ver en GitHub↗6,360
Ver las 30 alternativas a Contracts→

Preguntas frecuentes

¿Qué hace symfony/contracts?

This project is a PHP interface library that provides a component interoperability layer. It consists of a set of framework-agnostic contracts and standardized definitions that enable different libraries to work together via a consistent contract.

¿Cuáles son las características principales de symfony/contracts?

Las características principales de symfony/contracts son: Dependency Injection Interoperability, Interface-Based Decoupling, PHP Interoperability Libraries, PHP Standard Interface Implementations, Interface Contracts for Classes, Service Container Interfaces, Dependency Injection Containers, Framework Agnostic Interfaces.

¿Qué alternativas de código abierto existen para symfony/contracts?

Las alternativas de código abierto para symfony/contracts incluyen: php-fig/container — This project is a shared technical specification and standard interface for dependency injection containers in PHP. It… derekyrc/mini-spring — mini-spring is a Java dependency injection framework and inversion of control container. It manages the full lifecycle… code4craft/tiny-spring — tiny-spring is a Java inversion of control container and aspect-oriented programming framework. It provides a system… facebookarchive/inject — Inject is a dependency injection framework for Go that automates the assembly of complex object graphs. By leveraging… containernetworking/cni. jeffijoe/awilix — Awilix is a JavaScript dependency injection framework and inversion of control container. It provides a centralized…