承接 aedart/athenaeum-events 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

aedart/athenaeum-events

最新稳定版本:9.20.0

Composer 安装命令:

composer require aedart/athenaeum-events

包简介

Offers a way to register event listeners and subscribers via configuration

README 文档

README

The Athenaeum Events package offers way to register Event Listeners and Subscribers via configuration.

It serves as an alternative registration method than that provided by Laravel.

Example:

<?php
return [

    'listeners' => [

        \Acme\Users\Events\UserCreated::class => [
            \Acme\Users\Listeners\LogNewUser::class,
            \Acme\Users\Listeners\SendWelcomeEmail::class,
        ],
        'payments.*' => [
            \Acma\Payments\Listeners\VerifyPaymentSession::class
        ],
        
        // ... etc
    ],

    'subscribers' => [

        \Acme\Orders\Subscribers\OrderEventsSubscriber::class,
        \Acme\Users\Subscribers\TrialPeriodSubscriber::class,

        // ... etc
    ]
];

Documentation

Please read the official documentation for additional information.

Repository

The mono repository is located at github.com/aedart/athenaeum

Versioning

This package follows Semantic Versioning 2.0.0

License

BSD-3-Clause, Read the LICENSE file included in this package

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2020-01-18