定制 echo-fusion/contracts 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

echo-fusion/contracts

最新稳定版本:v1.1.0

Composer 安装命令:

composer require echo-fusion/contracts

包简介

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

README 文档

README

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.

统计信息

  • 总下载量: 29
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-11-06