ohmyzsh/plugins/laravel
Luiz Guilherme Fonseca Rosa c2113d7cc6
Create Laravel plugin README
2018-10-02 21:44:26 -03:00
..
_artisan Added laravel plugin which gives aliases to artisan and bob, and 2012-08-19 14:03:23 +01:00
laravel.plugin.zsh Update laravel.plugin.zsh 2018-10-02 21:37:02 -03:00
README.md Create Laravel plugin README 2018-10-02 21:44:26 -03:00

Laravel

Enable some cool aliases for Laravel artisan console. To use it, add laravel to the plugins array of your zshrc file:

plugins=(... laravel)
Alias Description
artisan php artisan
pas php artisan serve

Database

Alias Description
pam php artisan migrate
pamf php artisan migrate:fresh
pamfs php artisan migrate:fresh --seed
pamr php artisan migrate:rollback
pads php artisan db:seed

Makers

Alias Description
pamm php artisan make:model
pamc php artisan make:controller
pams php artisan make:seeder
pamt php artisan make:test

Clears

Alias Description
pacac php artisan cache:clear
pacoc php artisan config:clear
pavic php artisan view:clear
paroc php artisan route:clear