mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-27 03:14:56 +01:00
Added laravel plugin
This commit is contained in:
parent
9c08641d7c
commit
783bc6b11d
2 changed files with 64 additions and 0 deletions
45
plugins/laravel-complete/README.md
Normal file
45
plugins/laravel-complete/README.md
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
## Introduction ##
|
||||
|
||||
> Laravel Development process made easy than ever.
|
||||
|
||||
|
||||
## Installation ##
|
||||
|
||||
Open your `~/.zshrc` file and enable the `laravel-complete` plugin:
|
||||
|
||||
```zsh
|
||||
|
||||
plugins=( ... laravel-complete)
|
||||
|
||||
```
|
||||
|
||||
|
||||
## Usage ##
|
||||
|
||||
| snip | expandion |
|
||||
|---------------|--------------------------------------------------------------------------|
|
||||
| artisan | `php artisan` |
|
||||
| controller | `php artisan make:controller` |
|
||||
| model | `php artisan make:model` |
|
||||
| down | `php artisan down` |
|
||||
| up | `php artisan up` |
|
||||
| env | `php artisan env` |
|
||||
| serve | `php artisan serve` |
|
||||
| server | `php artisan serve --host local.dev --port 8888` |
|
||||
| appname | `php artisan app:name` |
|
||||
| seed | `php artisan db:seed --force` |
|
||||
| cmdclass | `php artisan make:command` |
|
||||
| console | `php artisan make:console` |
|
||||
| seeder | `php artisan make:seeder` |
|
||||
| migration | `php artisan make:migration` |
|
||||
| request | `php artisan make:request` |
|
||||
| event | `php artisan make:event` |
|
||||
| provide | `php artisan make:provider` |
|
||||
| migrate | `php artisan migrate` |
|
||||
|
||||
## Author
|
||||
|
||||
**Aditya Giri (BrainBuzzer)**
|
||||
+ <https://plus.google.com/+21dtrg>
|
||||
+ <https://twitter.com/brainbuzzerme>
|
||||
+ <http://github.com/BrainBuzzer>
|
||||
19
plugins/laravel-complete/laravel.plugin.zsh
Normal file
19
plugins/laravel-complete/laravel.plugin.zsh
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#!zsh
|
||||
alias artisan='php artisan'
|
||||
alias controller='php artisan make:controller'
|
||||
alias model='php artisan make:model'
|
||||
alias down='php artisan down'
|
||||
alias env='php artisan env'
|
||||
alias serve='php artisan serve'
|
||||
alias server='php artisan serve --host local.dev --port 8888'
|
||||
alias up='php artisan up'
|
||||
alias setname='php artisan app:name'
|
||||
alias seed='php artisan db:seed --force'
|
||||
alias cmdclass='php artisan make:command'
|
||||
alias console='php artisan make:console'
|
||||
alias seeder='php artisan make:seeder'
|
||||
alias migration='php artisan make:migration'
|
||||
alias request='php artisan make:request'
|
||||
alias event='php artisan make:event'
|
||||
alias provide='php artisan make:provider'
|
||||
alias migrate='php artisan migrate'
|
||||
Loading…
Add table
Add a link
Reference in a new issue