PHPackages                             strays/scaffold-laravel - 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. strays/scaffold-laravel

ActiveProject[Framework](/categories/framework)

strays/scaffold-laravel
=======================

The skeleton application for the Laravel framework.

v2.0.0(9mo ago)124MITPHPPHP ^8.2

Since Jun 15Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/23tl/scaffold-Laravel)[ Packagist](https://packagist.org/packages/strays/scaffold-laravel)[ RSS](/packages/strays-scaffold-laravel/feed)WikiDiscussions master Synced 1mo ago

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

Laravel 插件化脚手架
==============

[](#laravel-插件化脚手架)

一个基于 Laravel 12 的现代化脚手架项目，专为快速开发和插件化架构设计。

🚀 特性
----

[](#-特性)

- **插件化架构** - 支持动态加载和管理插件
- **统一API响应** - 标准化的API响应格式和异常处理
- **完整的业务层** - Logic、Service、Controller 三层架构
- **API日志记录** - 自动记录API请求和响应日志
- **插件管理系统** - 完整的插件生命周期管理
- **现代化开发** - 基于 Laravel 12 最新特性

📁 项目结构
------

[](#-项目结构)

```
app/
├── Addons/          # 插件目录
├── Http/            # HTTP层（控制器、中间件、请求验证）
├── Logic/           # 业务逻辑层
├── Services/        # 服务层
├── Plugins/         # 插件管理核心
└── Providers/       # 服务提供者

```

🔧 快速开始
------

[](#-快速开始)

1. **安装依赖**

    ```
    composer install
    ```
2. **环境配置**

    ```
    cp .env.example .env
    php artisan key:generate
    ```
3. **数据库迁移**

    ```
    php artisan migrate
    ```
4. **启动开发服务器**

    ```
    php artisan serve
    ```

📦 插件开发
------

[](#-插件开发)

### 创建插件

[](#创建插件)

插件位于 `app/Addons/` 目录下，每个插件包含：

- `routes.php` - 路由定义
- `config.php` - 插件配置
- 控制器、模型等业务文件

### 插件示例

[](#插件示例)

查看 `app/Addons/Dome/` 目录了解完整的插件结构示例。

🛠️ API 规范
---------

[](#️-api-规范)

所有API响应遵循统一格式：

```
{
  "code": 200,
  "success": true,
  "message": "操作成功",
  "data": {},
  "timestamp": "2025-01-01 00:00:00"
}
```

📚 文档
----

[](#-文档)

- [插件系统详细文档](PLUGIN_SYSTEM.md)
- [脚手架说明](SCAFFOLD_README.md)

🤝 贡献
----

[](#-贡献)

欢迎提交 Issue 和 Pull Request 来改进这个项目。

📄 许可证
-----

[](#-许可证)

本项目基于 MIT 许可证开源。

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance56

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Recently: every ~150 days

Total

7

Last Release

293d ago

Major Versions

v1.1.4 → v2.0.02025-07-23

PHP version history (2 changes)v1.0.0PHP ^8.1

v2.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/2223c2d4752ca63eef183406d05482e4822d5194cee0e865bb085486335e32ec?d=identicon)[Strays](/maintainers/Strays)

---

Top Contributors

[![23tl](https://avatars.githubusercontent.com/u/17537567?v=4)](https://github.com/23tl "23tl (3 commits)")

---

Tags

frameworklaravel

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/strays-scaffold-laravel/health.svg)

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

###  Alternatives

[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3691.5k](/packages/codewithdennis-larament)[ercogx/laravel-filament-starter-kit

This is a Filament v3 Starter Kit for Laravel 12, designed to accelerate the development of Filament-powered applications.

401.5k](/packages/ercogx-laravel-filament-starter-kit)

PHPackages © 2026

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