PHPackages                             echo-fusion/contracts - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. echo-fusion/contracts

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

echo-fusion/contracts
=====================

Core interfaces and contracts for the EchoFusion framework, providing shared, standardized interfaces for cross-package interoperability and modular design.

v1.1.0(1y ago)0293MITPHPPHP ~8.1.0 || ~8.2.0 || ~8.3.0

Since Nov 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/echo-fusion/contracts)[ Packagist](https://packagist.org/packages/echo-fusion/contracts)[ RSS](/packages/echo-fusion-contracts/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (2)Dependencies (5)Versions (6)Used By (3)

EchoFusion Contracts
====================

[](#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
-------

[](#install)

Via Composer

```
$ composer require echo-fusion/contracts
```

Requirements
------------

[](#requirements)

The following versions of PHP are supported by this version.

- PHP 8.1
- PHP 8.2
- PHP 8.3

Usage
-----

[](#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
-------

[](#credits)

Developed and maintained by [Amir Shadanfar](https://github.com/amir-shadanfar).
Connect on [LinkedIn](https://www.linkedin.com/in/amir-shadanfar).

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/echo-fusion/servicemanager/blob/main/LICENSE) for more information.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

5

Last Release

604d ago

Major Versions

v0.x-dev → v1.0.02024-11-06

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/182804396?v=4)[Amir Shadanfar](/maintainers/echo-fusion)[@echo-fusion](https://github.com/echo-fusion)

---

Top Contributors

[![echo-fusion](https://avatars.githubusercontent.com/u/182804396?v=4)](https://github.com/echo-fusion "echo-fusion (10 commits)")

---

Tags

contractsechoFusion

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/echo-fusion-contracts/health.svg)

```
[![Health](https://phpackages.com/badges/echo-fusion-contracts/health.svg)](https://phpackages.com/packages/echo-fusion-contracts)
```

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[cakephp/cakephp

The CakePHP framework

8.9k19.5M1.8k](/packages/cakephp-cakephp)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[getgrav/grav

Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS

15.6k86.4k1](/packages/getgrav-grav)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
