mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-12 01:52:31 +01:00
Add Laravel Art Plugin
This commit is contained in:
parent
4f0b680248
commit
a4c6304b46
2 changed files with 65 additions and 0 deletions
26
plugins/laravel-art/README.md
Normal file
26
plugins/laravel-art/README.md
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# Laravel Art plugin
|
||||
|
||||
This plugin adds some aliases for common [Laravel](https://laravel.com/docs/) commands.
|
||||
|
||||
To use it, add `laravel-art` to the plugins array in your zshrc file:
|
||||
|
||||
```zsh
|
||||
plugins=(... laravel-art)
|
||||
```
|
||||
|
||||
## Aliases
|
||||
|
||||
| Alias | Command | Description |
|
||||
|-----------|--------------------------------------|-------------------------------------|
|
||||
| art | `php artisan` | Main Artisan command |
|
||||
| arts | `php artisan serve` | Serve the application |
|
||||
| artr | `php artisan route:list` | List all registered routes |
|
||||
| artm | `php artisan migrate` | Run the database migrations |
|
||||
| artmf | `php artisan migrate:fresh` | Drop all tables and re-run all migrations |
|
||||
| artmfseed | `php artisan migrate:fresh --seed` | Drop tables and re-run migrations then seed|
|
||||
| artdbseed | `php artisan db:seed` | Seed the database with records |
|
||||
| artmodseed| `php artisan module:seed` | Seed the database from module package|
|
||||
| artcache | `php artisan cache:clear` | Flush the application cache |
|
||||
|
||||
|
||||
## And Many Other Aliases
|
||||
Loading…
Add table
Add a link
Reference in a new issue