PHPackages                             fcjy/event - 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. [Framework](/categories/framework)
4. /
5. fcjy/event

ActiveLibrary[Framework](/categories/framework)

fcjy/event
==========

Event Extend for Laravel

02PHP

Since Sep 10Pushed 6y ago1 watchersCompare

[ Source](https://github.com/xkm123/event)[ Packagist](https://packagist.org/packages/fcjy/event)[ RSS](/packages/fcjy-event/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

EVENT 事件库
=========

[](#event-事件库)

### 注：解决了事件执行顺序，规范了输入输出和异常的处理

[](#注解决了事件执行顺序规范了输入输出和异常的处理)

### 配置

[](#配置)

```
$config = [
                \App\Mobile\Event\LoginEvent::class=>[
                   \App\Mobile\Event\Handler\Account\AccountAuthHandler::class=>['priority'=>20,'describe'=>'账户认证处理器'],
                   \App\Mobile\Event\Handler\Account\AccountAuthCodingHandler::class=>['priority'=>20,'describe'=>'账户编号认证处理器'],
                   \App\Mobile\Event\Handler\Account\AccountMenuHandler::class=>['priority'=>80,'describe'=>'账户菜单信息处理器'],
                 \App\Mobile\Event\Handler\Account\AccountStorageHandler::class=>['priority'=>100,'describe'=>'账户信息存储处理器'],
              ],
              'scene'=>[
                    \App\Mobile\Event\LoginEvent::class=>[
                         'auth'=>[
                               'whiteRule' => [
                                   \App\Mobile\Event\Handler\Account\AccountAuthHandler::class,
                                   \App\Mobile\Event\Handler\Account\AccountAuthCodingHandler::class,
                                ],
                               'blockRule' => [
                                   \App\Mobile\Event\Handler\Account\AccountStorageHandler::class
                                ]
                          ]
                     ]
               ]
            ];

```

### 安装

[](#安装)

composer require fcjy/event

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/31266836?v=4)[邢可盟](/maintainers/xkm123)[@xkm123](https://github.com/xkm123)

---

Top Contributors

[![xkm123](https://avatars.githubusercontent.com/u/31266836?v=4)](https://github.com/xkm123 "xkm123 (5 commits)")

### Embed Badge

![Health badge](/badges/fcjy-event/health.svg)

```
[![Health](https://phpackages.com/badges/fcjy-event/health.svg)](https://phpackages.com/packages/fcjy-event)
```

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k38.6M290](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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