Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Laravel Powershell Commands -- Place in %UserProfile%\My Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1
function art($arg1,$arg2,$arg3,$arg4,$arg5) { php artisan $arg1 $arg2 $arg3 $arg4 $arg5}
function migrate () {
art migrate
function migrate:r () {
php artisan migrate:refresh; php artisan migrate --seed
function c:i () {
composer install
function c:u () {
composer update
function c:r ($arg1, $arg2) {
composer require $arg1 $arg2
function vu(){Set-Location %UserProfile%\Homestead; vagrant up;}
function vssh($arg) {Set-Location %UserProfile%\Homestead; vagrant ssh $arg}
function nah() {git reset --hard; git clean -df}
function gl () {
git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment