Laravel Zero was created by, and is maintained by Nuno Maduro, and is a micro-framework that provides an elegant starting point for your console application. It is an unofficial and customized version of Laravel optimized for building command-line applications.
- Built on top of the Laravel components.
- Optional installation of Laravel Eloquent, Laravel Logging and many others.
- Supports interactive menus and desktop notifications on Linux, Windows & MacOS.
- Ships with a Scheduler and a Standalone Compiler.
- Integration with Collision - Beautiful error reporting
零工(一个用 PHP 写的命令行工具合集)
- force “原力与你同在” 命令随机展示一条星球大战电影里的台词。
-
bb “发布 wordpress 站点评论” 需要配置对应 wp 站点的数据连接和待评论文章信息,作者信息。(demo: 🔗https://blog.phpf5.com/bb )
- 不带参数 (显示最新的 10 条评论)
- 引号包裹的字符串 (作为评论内容)
- --q[=关键字] 关键字搜索
- --e 编辑模式(修改最后一条评论)
- --et 最后一条评论附加翻译(此时无需内容参数)
- --c 计数(返回对应文章一共有多少条评论)
- --id[=ID] 返回特定 ID 的评论内容,--id=-1 输出最后一条评论内容
- --t 内容调用百度翻译, 换行附加在原本内容后面
-
mo "假装(就是)在摸鱼"
For full documentation, visit laravel-zero.com.
Do you like this project? Support it by donating
Laravel Zero is an open-source software licensed under the MIT license.