laravel-verification
Laravel 项目的验证循环:环境检查、代码检查、静态分析、带覆盖率的测试、安全扫描和部署就绪检查。在合并或部署前验证 Laravel 项目时使用——代码检查、静态分析、测试、覆盖率、安全。
机器翻译查看英文原文
Verification loop for Laravel projects: env checks, linting, static analysis, tests with coverage, security scans, and deployment readiness. Use when verifying a Laravel project before merge or deploy — lint, static analysis, tests, coverage, security.
适用对象:云服务、运维与安全。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看英文原文
原文涵盖的主题
- Laravel Verification Loop
- When to Use
- How It Works
- Phase 1: Environment Checks
- Phase 1.5: Composer and Autoload
- Phase 2: Linting and Static Analysis
- Phase 3: Tests and Coverage
- Phase 4: Security and Dependency Checks
Run before PRs, after major changes, and pre-deploy. Before opening a pull request for a Laravel project After major refactors or dependency upgrades Pre-deployment verification for staging or production Running full lint -> test -> security -> deploy readiness pipeline Run phases sequentially from environment checks through deployment readiness so each layer builds on the last. Environment and Composer checks gate everything else; stop immediately if they fail. Linting/static analysis should be clean before running full tests and coverage. Security and migration reviews happen after tests so you verify behavior before data or release steps. Build/deploy readiness and queue/scheduler checks are final gates; any failure blocks release. Verify .env is present and required keys exist Confirm APPDEBUG=false for production environments Confirm APPENV matches the target deployment (production, staging) If using Laravel Sail locally: If your project uses Psalm instead of PHPStan: Coverage (CI): CI example (format -> static analysis -> tests): Review destructive migrations carefully Ensure migration filenames follow YmdHis (e.g., 20250314154210createorderstable.php) and describe the change
这里只展示节选,请以完整原文和当前要求为准。
- 来源仓库
- affaan-m/ECC
- 源文件
- pi/core/skills/laravel-verification/SKILL.md
- 固定版本
- d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:affaan-m/ECC · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T15:01:43.094Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
MIT。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。