From 8c1e71eca5d036920cc7dd14e959dbd695b78c77 Mon Sep 17 00:00:00 2001 From: Taufek Johar Date: Sun, 24 Sep 2017 22:15:59 +0800 Subject: [PATCH] Add artisan aliases Added below php artisan commonly used aliases: ``` dusk = php artisan dusk fresh = php artisan migrate:fresh refresh = php artisan migrate:refresh rollback = php artisan migrate:rollback ``` --- workspace/aliases.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/workspace/aliases.sh b/workspace/aliases.sh index 1bf21c6..3e9bbb6 100644 --- a/workspace/aliases.sh +++ b/workspace/aliases.sh @@ -63,7 +63,11 @@ alias artisan="php artisan" alias cdump="composer dump-autoload -o" alias composer:dump="composer dump-autoload -o" alias db:reset="php artisan migrate:reset && php artisan migrate --seed" +alias dusk="php artisan dusk" +alias fresh="php artisan migrate:fresh" alias migrate="php artisan migrate" +alias refresh="php artisan migrate:refresh" +alias rollback="php artisan migrate:rollback" alias seed="php artisan:seed" alias phpunit="./vendor/bin/phpunit"