-
-
Save kartikkapatel/913369d44d85a27790f1c6488625d46d to your computer and use it in GitHub Desktop.
Laravel aliases
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
# laravel new-app | |
alias laravel="git clone -o laravel -b develop https://github.com/laravel/laravel.git" | |
alias artisan="php artisan" | |
alias migrate="php artisan migrate" | |
alias serve="php artisan serve" | |
alias dump="php artisan dump" | |
alias t="phpunit" | |
# Generators Package | |
alias g:c="php artisan generate:controller" | |
alias g:m="php artisan generate:model" | |
alias g:v="php artisan generate:view" | |
alias g:mig="php artisan generate:migration" | |
alias g:t="php artisan generate:test" | |
alias g:r="php artisan generate:resource" | |
alias g:s="php artisan generate:scaffold" | |
alias g:f="php artisan generate:form" | |
# Git | |
alias ga="git add" | |
alias gaa="git add ." | |
alias gc="git commit -m" | |
alias gp="git push" | |
alias gs="git status" | |
alias gl="git log" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment