Created
April 14, 2014 22:46
-
-
Save JSila/10688098 to your computer and use it in GitHub Desktop.
Bash aliases for most used commands - composer and laravel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias c="composer" | |
alias ccp="composer create-project --prefer-dist" | |
alias csu="sudo composer self-update" | |
alias cu="composer update" | |
alias ci="composer install" | |
alias cr="composer require" | |
alias csh="composer show" | |
alias cse="composer search" | |
alias cda="composer dump-autoload -o" | |
# for installing fresh copy of laravel (still have to provide project folder name) | |
alias ccpll="composer create-project laravel/laravel --prefer-dist" | |
alias a="php artisan" | |
alias as="php artisan serve" | |
alias am="php artisan migrate" | |
alias ar="php artisan routes" | |
alias amr="php artisan migration:rollback" | |
alias amrs="php artisan migration:refresh --seed" | |
# way/generators required | |
alias agc="php artisan generate:controller" | |
alias agmo="php artisan generate:model" | |
alias agmi="php artisan generate:migration" | |
alias agp="php artisan generate:pivot" | |
alias ags="php artisan generate:seed" | |
alias agv="php artisan generate:view" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment