fox / artisan-cmd-collection
Fox's Artisan Command Collection
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
A collection of useful (Laravel)Artisan commands.
Installation
In Laravel >= 6.0 the collection will register via the new package discovery feature, so you only need to add the package via composer to your project.
composer require "fox/artisan-cmd-collection:^2.0"
After the installation is complete, you should see
Discovered Package: fox/artisan-cmd-collection
and you are ready to go!
To see all available commands of this collection run
php artisan list fox
in your command line.
Available commands
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
Development - Getting Started
See the CONTRIBUTING file.
Changelog
See the CHANGELOG file.
License
See the LICENSE file.