Skip to content

Instantly share code, notes, and snippets.

@robyfirnandoyusuf
Created July 1, 2020 04:17
Show Gist options
  • Save robyfirnandoyusuf/b6f91a5ca566e856150c16ce9a6c6b4f to your computer and use it in GitHub Desktop.
Save robyfirnandoyusuf/b6f91a5ca566e856150c16ce9a6c6b4f to your computer and use it in GitHub Desktop.
Bash laravel aliases cheatsheet
#aliases php artisan
mm(){
php artisan make:model Models/"$1"
}
mmi(){
php artisan make:model -m Models/"$1"
}
mc(){
php artisan make:controller "$1"
}
mrc(){
php artisan make:controller --resource "$1"
}
mi(){
php artisan make:migration "$1"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment