Created
July 31, 2020 16:04
-
-
Save klaser/10a76dbee7b88897c5cf501b284a08bd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# Custom Aliases | |
# | |
alias test='vendor/bin/phpunit --exclude-group=dusk' | |
alias test:f='vendor/bin/phpunit --filter' | |
alias test:g='vendor/bin/phpunit --group' | |
alias rebuild='php artisan migrate:fresh --seed' | |
alias autoload='composer dump-autoload -o' | |
alias routes='php artisan route:list' | |
alias check='php artisan self-diagnosis' | |
alias m2='php bin/magento' | |
alias backup='sudo cp /etc/nginx/sites-available/* /etc/nginx/sites-backup' | |
alias restore-backup='sudo cp /etc/nginx/sites-backup/* /etc/nginx/sites-available' | |
function fresh-server() { | |
sudo service php5.6-fpm restart | |
sudo service php7.0-fpm restart | |
sudo service php7.1-fpm restart | |
sudo service php7.2-fpm restart | |
sudo service php7.3-fpm restart | |
sudo service nginx restart | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment