Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EchoFusion Contracts

Welcome to the EchoFusion Contracts repository! This package defines the core interfaces and abstractions that are shared across the EchoFusion framework, ensuring consistency and flexibility in how components interact with each other.

Install

Via Composer

$ composer require echo-fusion/contracts

Requirements

The following versions of PHP are supported by this version.

  • PHP 8.1
  • PHP 8.2
  • PHP 8.3

Usage

The EchoFusion Contracts package provides interfaces that are widely used across the EchoFusion ecosystem. The goal is to provide a set of reusable and extensible contracts to ensure all EchoFusion components follow a consistent structure and behavior.

For example, to use the ServiceProviderInterface in your application, you can implement it within your custom service providers:

use EchoFusion\Contracts\ServiceProviderInterface;
use EchoFusion\Contracts\ServiceManagerInterface;

class MyServiceProvider implements ServiceProviderInterface
{
    public function register(ServiceManagerInterface $container): void
    {
        // Register your services here
    }

    public function boot(ServiceManagerInterface $container, array $config): void
    {
        // Boot your services here
    }
}

Credits

Developed and maintained by Amir Shadanfar.
Connect on LinkedIn.

License

The MIT License (MIT). Please see License File for more information.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages