Download the PHP package charsen/moo-scaffold without Composer

On this page you can find all versions of the php package charsen/moo-scaffold. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package moo-scaffold

moo-scaffold

Laravel 后端代码生成器 + 开发辅助后台。 写一份 YAML,一条命令生成全套能直接跑的后端代码;再附一个「开发期可写、生产只读」的 /scaffold 开发后台。

一个有主见的参考实现,不是开箱即用的通用脚手架。 它沉淀了一个人多年 Laravel 的取舍——你可以拿去用,也可以只借走背后的判断。

PHP 8.2+ · Laravel 12 · MIT


一眼看懂

写 20 行 YAML:

跑一条 php artisan moo:free admin Book -a,生成一整套能直接 commit 的代码(不是占位脚手架):

Book model + Filter + Factory · books migration · BookController(CRUD + 批量 + 软删恢复)+ 路由自动挂载 · Store/Update Request(校验规则从字段长度 / 枚举推导)· BookResource · 接口文档 YAML · ACL 权限映射(精确到动作)· i18n 多语言 · 前端 .ts / .vue

手写这些 ≈ 8 个文件、200+ 行,改一个字段要同步 6 处;这里改 YAML 重跑即可。

三块功能

1. 代码生成 —— moo:fresh 解析 schema 到缓存,moo:free 一条流水线吐全套代码。模板即编码规范(stubs/ + src/Foundation/),生成的是你愿意 commit 的代码。

应用端由 config/scaffold.php 的 controller 注册表定义,默认提供 Admin、Mobi、Web;host 还可注册 RPA、Screen 等自定义端。api 专指接口文档/调试能力,不再兼作移动端目录名。

2. 开发后台 /scaffold —— 数据库设计器(可视化改 schema)、接口调试器(类 Postman,按路由自动识别参数)、ACL 查看、配置可视化编辑、开发文档中心(Markdown + Mermaid 流程图 + 接口 / 表深链)、应用日志(Log Viewer,复用 Scaffold 登录)。只在开发环境可写,生产一律只读。

3. 运行时监控 —— 异常 / 慢 SQL 自动捕获、缓冲、推送到云端统一看(由 moo-monitor-laravel 提供,AI 可经 MCP 读取辅助修复)。

快速开始

还需在 routes/admin.php 留一行插入标记、注册 Route::iResource 宏。完整前置 + 「5 分钟从 YAML 到接口」示例 → 安装指南。

文档

我想… 看这里
第一次装包 / 前置配置 安装指南
学 schema 语法 Schema 与代码生成
命令速查(忘了 flag) CLI 速查
全部模块手册 docs/guide/
安全模型(dev 写 / prod 只读) 安全模型
在 Scaffold 查看应用日志 应用日志
自己写 JS / 脚本消费 /scaffold 接口 Web JSON 契约(统一信封)
设计取舍 / 模块总览 项目总览
给包做贡献 / 跑测试 贡献指南

设计哲学(一句话版)

功能必须简单(能走 git 就走 git)· dev-only 写 / prod 只读 · UI 可追求完美但完美 ≠ 功能复杂 · 模板即编码规范。

展开版见 操作手册。

License

MIT


All versions of moo-scaffold with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
laravel/framework Version ^10.0 || ^11.0 || ^12.0
charsen/moo-monitor-laravel Version ^0.1.19
brick/math Version ^0.12 || ^0.13 || ^0.14
brick/varexporter Version ^0.7.0
symfony/yaml Version ^7.0
fakerphp/faker Version ^1.23
godruoyi/php-snowflake Version ^3.2
tucker-eric/eloquentfilter Version ^3.6
opcodesio/log-viewer Version ^3.24
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package charsen/moo-scaffold contains the following files

Loading the files please wait ...