Bash aliases

Для удобства разработки, мы добавили специальные синонимы bash команд:

Laravel:

  • alias pa="php artisan"
  • alias art="php artisan"
  • alias par="php artisan routes"
  • alias pam="php artisan migrate"
  • alias pam:r="php artisan migrate:refresh"
  • alias pam:roll="php artisan migrate:rollback"
  • alias pam:rs="php artisan migrate:refresh --seed"
  • alias pda="php artisan dumpautoload"

Wordpress:

  • alias get_wp="wget http://wordpress.org/latest.tar.gz && tar zxvf latest.tar.gz && rm latest.tar.gz"

Symfony:

  • alias sf="php app/console"
  • alias sf:cc="php app/console cache:clear"
  • alias sf:gb="php app/console generate:bundle"
  • alias sf:rd="php app/console router:debug"
  • alias sf:dsd="php app/console doctrine:schema:update"
  • alias sf:dmd="php app/console doctrine:migrations:diff"
  • alias sf:dmx="php app/console doctrine:migrations:execute"

Общие команды:

  • alias cu="composer update"
  • alias ci="composer install"
  • alias cda="composer dump-autoload -o"