This is a draft cheat sheet. It is a work in progress and is not finished yet.
Composer commands
init create composer.json |
install install dependencies from composer.lock |
update install dependencies from composer.json |
dump-autoload update autoloaded classes |
require add package to composer.json |
search <package> search repositories for matching packages |
depends [--link-type=require|require-dev] <package> list dependant packages |
validate validate composer.json |
global <command> run command in Composer home |
show list all available packages |
show <package> show package details |
create-project <package> create project based on package |
status show local changes in dependencies |
config show and modify local or global Composer config |
licenses list installed packages name, version and license |
run-script run script manually |
diagnose run Composer diagnostics |
archive <package> <version> --format=[zip|tar] Archive package or project |
self-update update Composer |
help <command> show command information |
|
|
Artisan commands
changes |
tail --path="<path>" |
env |
down / up |
help / list |
tinker |
optimize |
routes |
pcf:all |
serve |
workbench |
auth:clear-reminders |
auth:reminders-controller |
auth:reminders-table |
cache:clear |
command:make |
controller:make |
key:generate |
migrate |
migrate:install |
migrate:make |
migrate:refresh |
migrate:reset |
migrate:rollback |
session-table |
db:seed |
queue:failed |
queue:failed-table |
queue:flush |
queue:forget |
queue:listen |
queue:retry |
queue:subscribe |
queue:work |
generate:controller |
generate:form |
generate:migration |
generate:model |
generate:pivot |
generate:resource |
generate:scaffold |
generate:seed |
generate:test |
generate:view |
|
|
|