Skip to content

Instantly share code, notes, and snippets.

@ruman
Last active December 16, 2021 08:07
Show Gist options
  • Save ruman/79ab41051a46968ba4f7ef4446516c89 to your computer and use it in GitHub Desktop.
Save ruman/79ab41051a46968ba4f7ef4446516c89 to your computer and use it in GitHub Desktop.
artisan.command
Reoptimizing the loader class:
php artisan optimize
Clearing the cache
php artisan cache:clear
php artisan route:cache
php artisan view:clear
Clearing the config cache:
php artisan config:cache
php artisan config:clear
php artisan cache:clear
php artisan view:clear
composer dump-autoload
php artisan clear-compiled
php artisan make:migration create_articles-table --create=articles
php artisan make:migration add_inro_colum_to_articles --table=articles
php artisan make:model Article
php artisan tinker
php artisan --help OR -h
php artisan --quiet OR -q
php artisan --version OR -V
php artisan --no-interaction OR -n
php artisan --ansi
php artisan --no-ansi
php artisan --env
// -v|vv|vvv Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
php artisan --verbose
php artisan changes
php artisan clear-compiled
php artisan down
php artisan dump-autoload
php artisan env
php artisan help
php artisan list
php artisan migrate
php artisan optimize
php artisan routes
php artisan serve
php artisan tinker
php artisan up
php artisan workbench
php artisan asset:publish [--bench[="vendor/package"]] [--path[="..."]] [package]
php artisan auth:reminders
php artisan cache:clear
php artisan command:make name [--command[="..."]] [--path[="..."]] [--namespace[="..."]]
php artisan config:publish
php artisan controller:make [--bench="vendor/package"]
php artisan db:seed [--class[="..."]] [--database[="..."]]
php artisan key:generate
php artisan migrate [--bench="vendor/package"] [--database[="..."]] [--path[="..."]] [--package[="..."]] [--pretend] [--seed]
php artisan migrate:install [--database[="..."]]
php artisan migrate:make name [--bench="vendor/package"] [--create] [--package[="..."]] [--path[="..."]] [--table[="..."]]
php artisan migrate:refresh [--database[="..."]] [--seed]
php artisan migrate:reset [--database[="..."]] [--pretend]
php artisan migrate:rollback [--database[="..."]] [--pretend]
php artisan queue:listen [--queue[="..."]] [--delay[="..."]] [--memory[="..."]] [--timeout[="..."]] [connection]
php artisan queue:subscribe [--type[="..."]] queue url
php artisan queue:work [--queue[="..."]] [--delay[="..."]] [--memory[="..."]] [--sleep] [connection]
php artisan session:table
php artisan view:publish [--path[="..."]] package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment