summaryrefslogtreecommitdiff
path: root/plugins/laravel/README.md
diff options
context:
space:
mode:
authorLuiz Guilherme Fonseca Rosa <luizguilhermefr@gmail.com>2018-10-02 21:44:26 -0300
committerGitHub <noreply@github.com>2018-10-02 21:44:26 -0300
commitc2113d7cc67e2865a4692918198fba27e8360fe5 (patch)
treebb7b2011144b50c4867b1a58e5523c12251ddc23 /plugins/laravel/README.md
parent729339c7808f65b95d9fc68f67fed45336ec6eef (diff)
downloadzsh-c2113d7cc67e2865a4692918198fba27e8360fe5.tar.gz
zsh-c2113d7cc67e2865a4692918198fba27e8360fe5.tar.bz2
zsh-c2113d7cc67e2865a4692918198fba27e8360fe5.zip
Create Laravel plugin README
Diffstat (limited to 'plugins/laravel/README.md')
-rw-r--r--plugins/laravel/README.md39
1 files changed, 39 insertions, 0 deletions
diff --git a/plugins/laravel/README.md b/plugins/laravel/README.md
new file mode 100644
index 000000000..c7ae17f80
--- /dev/null
+++ b/plugins/laravel/README.md
@@ -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` |