forked from Shinseiki86/wupos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
36 lines (31 loc) · 1.15 KB
/
.bashrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# laravel new-app
alias laravel="git clone -o laravel -b develop https://github.com/laravel/laravel.git"
alias art="php artisan"
alias art:mig="php artisan migrate"
alias art:reset="php artisan migrate:reset && php artisan migrate --seed"
alias art:ref="php artisan migrate:refresh --seed"
alias art:roll="php artisan migrate:rollback"
alias art:dump="php artisan dumpautoload"
alias art:cls="art clear-compiled && art cache:clear && art view:clear && art route:clear && art optimize"
alias t="vendor/bin/phpunit"
alias art:seed="php artisan db:seed --class=EncuestasTableSeeder"
# Generators Package
alias g:c="php artisan generate:controller"
alias g:m="php artisan generate:model"
alias g:v="php artisan generate:view"
alias g:mig="php artisan generate:migration"
alias g:t="php artisan generate:test"
alias g:r="php artisan generate:resource"
alias g:s="php artisan generate:scaffold"
alias g:f="php artisan generate:form"
# Git
alias ga="git add"
alias gaa="git add ."
alias gc="git commit -m"
alias gp="git push"
alias gs="git status"
alias gl="git log"
#Console
alias cls="clear"
#Composer
alias comp:up="C:/ProgramData/ComposerSetup/bin/composer.phar self-update"