laravel-zsh-plugin
contains short aliases for all artisan commands
included to Laravel 5+ framework.
Without typing full artisan command in console, like:
$ php artisan migrate --seed
there is more convenient alias:
$ amgs
-
Go to
oh-my-zsh
plugins directory:$ cd ~/.oh-my-zsh/plugins
-
Clone the repository into a new directory
laravel-artisan
:git clone https://github.com/crazybooot/laravel-zsh-plugin.git laravel-artisan
-
Enable
laravel-artisan
plugin by adding to your .zshrc configuration file:plugins=(laravel-artisan)
-
Restart your shell.
Alias | Command |
---|---|
a | php artisan |
av | php artisan -V |
acc | php artisan clear-compiled |
ad | php artisan down |
ae | php artisan env |
ah | php artisan help |
ai | php artisan inspire |
al | php artisan list |
ap | php artisan preset |
as | php artisan serve |
at | php artisan tinker |
au | php artisan up |
Alias | Command |
---|---|
aanm | php artisan app:name |
Alias | Command |
---|---|
aacr | php artisan auth:clear-resets |
Alias | Command |
---|---|
accl | php artisan cache:clear |
acfg | php artisan cache:forget |
actb | php artisan cache:table |
Alias | Command |
---|---|
acfcc | php artisan config:cache |
acfcl | php artisan config:clear |
Alias | Command |
---|---|
adbs | php artisan db:seed |
aeg | php artisan event:generate |
akg | php artisan key:generate |
Alias | Command |
---|---|
amkau | php artisan make:auth |
amkch | php artisan make:channel |
amkcm | php artisan make:command |
amkct | php artisan make:controller |
amkctr | php artisan make:controller -r |
amkev | php artisan make:event |
amkex | php artisan make:exception |
amkfc | php artisan make:factory |
amkjb | php artisan make:job |
amkls | php artisan make:listener |
amkml | php artisan make:mail |
amkmw | php artisan make:middleware |
amkmg | php artisan make:migration |
amkmd | php artisan make:model |
amkmdm | php artisan make:model -m |
amknf | php artisan make:notification |
amkos | php artisan make:observer |
amkpl | php artisan make:policy |
amkpv | php artisan make:provider |
amkrq | php artisan make:request |
amkres | php artisan make:resource |
amkrl | php artisan make:rule |
amksd | php artisan make:seeder |
amkts | php artisan make:test |
Alias | Command |
---|---|
amg | php artisan migrate |
amgf | php artisan migrate --force |
amgs | php artisan migrate --seed |
amgp | php artisan migrate --pretend |
amgt | php artisan migrate --env=testing |
amgfr | php artisan migrate:fresh |
amgis | php artisan migrate:install |
amgrf | php artisan migrate:refresh |
amgrs | php artisan migrate:reset |
amgrb | php artisan migrate:rollback |
amgst | php artisan migrate:status |
Alias | Command |
---|---|
anftb | php artisan notifications:table |
Alias | Command |
---|---|
ao | php artisan optimize |
aoc | php artisan optimize:clear |
Alias | Command |
---|---|
apd | php artisan package:discover |
Alias | Command |
---|---|
aqf | php artisan queue:failed |
aqft | php artisan queue:failed-table |
aqfl | php artisan queue:flush |
aqfg | php artisan queue:forget |
aqls | php artisan queue:listen |
aqrs | php artisan queue:restart |
aqrt | php artisan queue:retry |
aqtb | php artisan queue:table |
aqwk | php artisan queue:work |
Alias | Command |
---|---|
arcc | php artisan route:cache |
arcl | php artisan route:clear |
arls | php artisan route:list |
Alias | Command |
---|---|
asfn | php artisan schedule:finish |
asrn | php artisan schedule:run |
Alias | Command |
---|---|
astb | php artisan session:table |
Alias | Command |
---|---|
asln | php artisan storage:link |
Alias | Command |
---|---|
avpb | php artisan vendor:publish |
Alias | Command |
---|---|
avcc | php artisan view:cache |
avcl | php artisan view:clear |
Alias | Command |
---|---|
ahz | php artisan artisan horizon |
ahzas | php artisan artisan horizon:assets |
ahzct | php artisan artisan horizon:continue |
ahzls | php artisan artisan horizon:list |
ahzps | php artisan artisan horizon:pause |
ahzpg | php artisan artisan horizon:purge |
ahzss | php artisan artisan horizon:snapshot |
ahzsv | php artisan artisan horizon:supervisor |
ahzsvs | php artisan artisan horizon:supervisors |
ahztm | php artisan artisan horizon:terminate |
ahzto | php artisan artisan horizon:timeout |
ahzwk | php artisan artisan horizon:work |
Alias | Command |
---|---|
amkcs | php artisan make:console |
ahcm | php artisan handler:command |
ahev | php artisan handler:event |
aqss | php artisan queue:subscribe |
afr | php artisan fresh |
The MIT License (MIT). Please see License File for more information.