1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 05:40:08 +00:00

Create Laravel plugin README

This commit is contained in:
Luiz Guilherme Fonseca Rosa 2018-10-02 21:44:26 -03:00 committed by GitHub
parent 729339c780
commit c2113d7cc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

39
plugins/laravel/README.md Normal file
View file

@ -0,0 +1,39 @@
# Laravel
Enable some cool aliases for Laravel [artisan console](https://laravel.com/docs/5.7/artisan). 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` |