artisan.page
418
Stars
44
Forks
4
Watchers
1
Open Issues
NOASSERTION
许可证
Vue
语言
2021-01-18
创建时间
2026-11-12
最近更新
项目能做什么
可收藏、可搜索的 Laravel Artisan 命令速查表。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="assets/img/logo-dark.svg" height="100">
<img src="assets/img/logo.svg" alt="The Laravel Artisan Cheatsheet" height="100" />
</picture>
</p>
<p align="center" style="display: flex; gap: 2rem; justify-content: center; width: 100%; align-items: center; height: 50px">
<a href="https://github.com/jbrooksuk/artisan.page/?sponsor=1">
<img src="https://img.shields.io/github/sponsors/jbrooksuk" alt="GitHub Sponsors">
</a>
<a href="LICENSE.md">
<img src="https://img.shields.io/github/license/jbrooksuk/artisan.page" alt="License">
</a>
</p>
A bookmarkable, searchable cheatsheet for [Laravel's](https://laravel.com) Artisan commands.
## Generation
Artisan.page is a static Nuxt site fed by one JSON file per Laravel major version, under `assets/<version>.x.json`. Those files are produced by a GitHub Actions workflow that spins up a disposable Laravel install for each version, introspects its registered Artisan commands, and commits the result back to the repo.
### The workflow
`.github/workflows/process-artisan-commands.yml` runs on `push` to `master`, pull requests, manual dispatch, and on a schedule (three times a day). Its steps:
1. **Discover Laravel versions.** Fetches the Laravel package metadata from Packagist and derives `{ v, php }` pairs for each major release — e.g. `{ v: "13", php: "8.3" }`.
2. **Fan out.** A matrix job runs once per version.
3. **Install Laravel.** `composer create-project laravel/laravel="^<version>"` into `/tmp/laravel`, configured with the matching `platform.php`.
4. **Add first-party package feeds.** Registers `nova.laravel.com` and `spark.laravel.com` as Composer repositories and authenticates them using `NOVA_USERNAME` / `NOVA_LICENSE_KEY` / `SPARK_USERNAME` / `SPARK_API_TOKEN` secrets.
5. **Require the package set for that version.** Reads `manifest.json` to decide which of Nova, Spark, Horizon, Pulse, Sanctum, Passport, Livewire, Inertia, etc. belong in that version's install, and runs `composer require` for each one. Failures are tolerated so a single broken package doesn't fail the whole build.
6. **Run `build.php`.** Boots the freshly-installed Laravel app, asks its console kernel for the full command list, and serialises each command's name, description, synopsis, aliases, arguments, and options to JSON.
7. **Commit.** The resulting `assets/<version>.x.json` is committed back to `master` with `[skip ci]` so it doesn't trigger the workflow again.
### `manifest.json`
Controls what gets installed per Laravel version. The `packages` array is the full catalog; `configuration.<version>` is the subset to `composer require` for that version. Add or remove entries here to change what a given version's command list includes.
### `build.php`
A small script that resolves Laravel's `Console\Kernel`, iterates its registered commands, deduplicates by name, and emits a JSON array. It's copied into the
阅读完整原文
项目深度分析 AI 生成
Laravel 生态精准赞助与招聘展示平台
| 产品构想 | 保持核心速查功能免费并最大化流量,面向 Laravel 生态 SaaS、Hosting、开发工具商提供顶部横幅及命令详情页的上下文关联赞助位。 |
| 核心功能 | 静态站多版本命令检索、赞助商广告管理看板、按命令类别的定向推广展示(如在 queue/cache 命令页展示托管云服务广告)。 |
| 目标用户 | Laravel 生态商业公司(如云主机提供商、SaaS 监控服务、招聘企业)。 |
| 难度/周期 | 低 · 1-2 周 · 成本:极低(静态站点托管费用及域名解析,月成本 < $10) |
| 收费模式 | 按月/季收取展示广告位赞助费、联盟推广分成(Affiliate)。 |
| 竞争风险 | 流量不足以吸引付费赞助商;开发者普遍开启广告拦截器。 |
| 依据 | 已验证事实 |
桌面效率扩展与离线工具包(Raycast / Alfred / VS Code)
| 产品构想 | 基于自动生成的命令 JSON 数据,构建高度集成的桌面/编辑器快捷调出插件,提供直接复制运行、参数快速填参执行的增强体验,并对高级功能收取买断费。 |
| 核心功能 | 全局快捷键检索命令、参数引导生成器、历史执行记录同步、离线文档缓存。 |
| 目标用户 | 重度依赖 Artisan 命令的高频 Laravel 开发者。 |
| 难度/周期 | 中等 · 3-4 周 · 成本:开发者账号费用(如 Apple Developer / 平台认证费) |
| 收费模式 | 高级桌面应用买断制收费(如 $9.99 终身),或基础版免费、高级特性赞助解锁。 |
| 竞争风险 | 开源社区容易出现免费同类替代品;终端内置 `php artisan help` 满足了大部分基础需求。 |
| 依据 | AI推测 |
企业私有 Laravel 项目文档化 CI 动作与托管平台
| 产品构想 | 将仓库中的 CI 生成机制(通过 Kernel 反射抽取命令)包装为标准化的 GitHub Action/CLI 工具,帮助中大型团队自动将私有包与项目的自定义 Artisan 命令提取并部署为私有速查站。 |
| 核心功能 | 一键提取私有命令及注释、访问鉴权保护(SSO/密码)、私有命令与官方命令合并视图、与 CI/CD 流水线集成发布。 |
| 目标用户 | 维护大型 Laravel 单体应用或多个微服务的中大型企业开发团队。 |
| 难度/周期 | 中等 · 1-2 个月 · 成本:多租户轻量服务架构与鉴权网关(月成本 $20 - $50) |
| 收费模式 | B2B SaaS 订阅制(按团队席位或私有文档库数量每月收费)。 |
| 竞争风险 | 需求偏长尾,企业多倾向于使用现有的 Wiki(如 Notion/Confluence)手动记录;研发团队不愿为命令文档单独采购。 |
| 依据 | 尚需验证的假设 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
| 项目 | 中文简介 | Stars | 语言 |
|---|---|---|---|
| laravel-zero/laravel-zero | 中文介绍暂未生成 A PHP framework for console artisans |
4,015 | PHP |
| lorisleiva/laravel-deployer | 中文介绍暂未生成 🚀 Zero-downtime deployment out-of-the-box |
1,674 | PHP |
| appstract/laravel-opcache | 中文介绍暂未生成 Laravel Package for OPcache |
1,363 | PHP |
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。
项目优势与风险
| 技术成熟度 | 创建于 2021-01-18,近 30 天仍在推送 |
| 社区活跃 | Star 418 / Fork 44 / Issue 1(数据支持,可自行核实) |
| 许可证 | NOASSERTION |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。