fox / artisan-cmd-collection
Fox 的 Artisan 命令集合
2.0.0
2021-04-30 11:42 UTC
Requires
- php: >=7.4.1
- ext-pdo: *
- illuminate/console: ^6.0|^7.0|^8.0
- illuminate/database: ^6.0|^7.0|^8.0
- illuminate/support: ^6.0|^7.0|^8.0
Requires (Dev)
- ext-mbstring: *
- friendsofphp/php-cs-fixer: ^2.16
- phpunit/phpunit: ^8.5
README
一组有用的 (Laravel)Artisan 命令。
安装
在 Laravel >= 6.0 中,集合将通过新的包发现功能进行注册,因此您只需通过 composer 将包添加到您的项目中。
composer require "fox/artisan-cmd-collection:^2.0"
安装完成后,您应该看到
Discovered Package: fox/artisan-cmd-collection
然后您就可以开始使用了!
要查看此集合中所有可用的命令,请在您的命令行中运行
php artisan list fox
可用命令
fox:cache:clear
Usage: fox:cache:clear [options] [--] [<cache>]... Arguments: cache Type of the cache(s) to clear - available values are [app|config|route|view] Options: --all Clear all caches -h, --help Display this help message -q, --quiet Do not output any message -V, --version Display this application version --ansi Force ANSI output --no-ansi Disable ANSI output -n, --no-interaction Do not ask any interactive question --env[=ENV] The environment the command should run under -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug Help: Clears multiple caches used by your application. e.G. config or view caches
db:create
Description: Create a database using the designated connection. Usage: db:create [options] [--] [<connection>] Arguments: connection Name of the connection defined in your config/database.php file. [default: "default"] Options: -h, --help Display this help message -q, --quiet Do not output any message -V, --version Display this application version --ansi Force ANSI output --no-ansi Disable ANSI output -n, --no-interaction Do not ask any interactive question --env[=ENV] The environment the command should run under -incl-drop-database, --drop Include drop database statement -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
开发 - 入门
查看 CONTRIBUTING 文件。
变更日志
查看 CHANGELOG 文件。
许可证
查看 LICENSE 文件。