Skip to content

daoyuc/zero_tools

Repository files navigation

Build Status Total Downloads Latest Stable Version License

This is a community project and not an official Laravel one

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.


zero_tools

零工(一个用 PHP 写的命令行工具合集)

当前功能

  1. force “原力与你同在” 命令随机展示一条星球大战电影里的台词。

  1. bb “发布 wordpress 站点评论” 需要配置对应 wp 站点的数据连接和待评论文章信息,作者信息。(demo: 🔗https://blog.phpf5.com/bb

    • 不带参数 (显示最新的 10 条评论)
    • 引号包裹的字符串 (作为评论内容)
    • --q[=关键字] 关键字搜索
    • --e 编辑模式(修改最后一条评论)
    • --et 最后一条评论附加翻译(此时无需内容参数)
    • --c 计数(返回对应文章一共有多少条评论)
    • --id[=ID] 返回特定 ID 的评论内容,--id=-1 输出最后一条评论内容
    • --t 内容调用百度翻译, 换行附加在原本内容后面
  2. mo "假装(就是)在摸鱼"


Documentation

For full documentation, visit laravel-zero.com.

Support the development

Do you like this project? Support it by donating

License

Laravel Zero is an open-source software licensed under the MIT license.

Releases

No releases published

Packages

No packages published