2018-10-03 02:44:26 +02:00
# Laravel
2018-10-04 13:23:07 +02:00
This plugin adds aliases and autocompletion for Laravel [Artisan ](https://laravel.com/docs/artisan ) and [Bob ](http://daylerees.github.io/laravel-bob/ ) command-line interfaces.
2018-10-03 02:44:26 +02:00
```
plugins=(... laravel)
```
2021-10-12 22:40:56 +02:00
| Alias | Description |
| :-------: | :-----------------: |
| `artisan` | `php artisan` |
| `pas` | `php artisan serve` |
## Key
| Alias | Description |
| :----: | :------------------------: |
| `pakg` | `php artisan key:generate` |
2018-10-03 02:44:26 +02:00
## Database
2021-10-12 22:40:56 +02:00
| 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` |
2018-10-03 02:44:26 +02:00
## Makers
2021-10-12 22:40:56 +02:00
| Alias | Description |
| :-----: | :-----------------------------: |
| `pamm` | `php artisan make:model` |
| `pamc` | `php artisan make:controller` |
| `pams` | `php artisan make:seeder` |
| `pamt` | `php artisan make:test` |
| `pamfa` | `php artisan make:factory` |
| `pamp` | `php artisan make:policy` |
| `pame` | `php artisan make:event` |
| `pamj` | `php artisan make:job` |
| `paml` | `php artisan make:listener` |
| `pamn` | `php artisan make:notification` |
2018-10-03 02:44:26 +02:00
## Clears
2021-10-12 22:40:56 +02:00
| Alias | Description |
| :-----: | :------------------------: |
| `pacac` | `php artisan cache:clear` |
| `pacoc` | `php artisan config:clear` |
| `pavic` | `php artisan view:clear` |
| `paroc` | `php artisan route:clear` |
2019-12-29 06:03:26 +01:00
## Queues
2021-10-12 22:40:56 +02:00
| Alias | Description |
| :-----: | :------------------------------: |
| `paqf` | `php artisan queue:failed` |
| `paqft` | `php artisan queue:failed-table` |
| `paql` | `php artisan queue:listen` |
| `paqr` | `php artisan queue:retry` |
| `paqt` | `php artisan queue:table` |
| `paqw` | `php artisan queue:work` |
## Storage
| Alias | Description |
| :----: | :------------------------: |
| `pasl` | `php artisan storage:link` |