PHPackages                             cloudtay/laravel-coral - 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. [Admin Panels](/categories/admin)
4. /
5. cloudtay/laravel-coral

ActiveLibrary[Admin Panels](/categories/admin)

cloudtay/laravel-coral
======================

v1.0(1mo ago)01851MITPHPPHP ^8.2

Since Apr 28Pushed 1mo agoCompare

[ Source](https://github.com/cloudtay/laravel-coral)[ Packagist](https://packagist.org/packages/cloudtay/laravel-coral)[ RSS](/packages/cloudtay-laravel-coral/feed)WikiDiscussions main Synced today

READMEChangelog (7)Dependencies (9)Versions (8)Used By (0)

### `Laravel Coral`

[](#laravel-coral)

一个用于Laravel框架的模块化开发扩展包

---

### 特性

[](#特性)

- **模块化架构**: 允许将应用拆分为独立的模块
- **自动路由注册**: 基于注解/属性的路由定义
- **中间件支持**: 提供基于属性的中间件定义方式
- **请求验证**: 内置路由参数验证功能
- **速率限制**: 方便地为接口添加速率限制功能
- **数据库事务**: 简化数据库事务处理
- **工作器管理**: 包含定时任务和后台工作器支持
- **视图管理**: 模块化的视图组织

### 自定义模块层

[](#自定义模块层)

默认会扫描 `app/Modules`，并保持原有模块目录、`.ignore`、控制器、命令、工作器和视图注册方式不变。

如果需要额外的模块层，例如 `app/Plugins`，可以在应用配置中添加：

```
// config/coral.php
return [
    'module_layers' => [
        app_path('Modules'),
        app_path('Plugins'),
    ],
];
```

`app_path('Plugins')` 会解析为 `App\Plugins` 命名空间，模块类为 `App\Plugins\{ModuleName}\Module`。

### 安装

[](#安装)

```
composer require cloudtay/laravel-coral
```

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance92

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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 ~65 days

Recently: every ~70 days

Total

7

Last Release

39d ago

Major Versions

v0.1.7 → v1.02026-05-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/08132600005b5daca85d578ec15035581a8df5d2e2ce57b184231663dcc6d217?d=identicon)[cclilshy](/maintainers/cclilshy)

---

Top Contributors

[![cclilshy](https://avatars.githubusercontent.com/u/59851383?v=4)](https://github.com/cclilshy "cclilshy (11 commits)")

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/cloudtay-laravel-coral/health.svg)

```
[![Health](https://phpackages.com/badges/cloudtay-laravel-coral/health.svg)](https://phpackages.com/packages/cloudtay-laravel-coral)
```

PHPackages © 2026

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