Last active
May 21, 2024 06:26
-
-
Save abhishekkhaware/7152721 to your computer and use it in GitHub Desktop.
Revisions
-
abhishekkhaware revised this gist
Oct 25, 2013 . 1 changed file with 12 additions and 11 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,19 +1,20 @@ # Laravel Artisan Commands Shortcut function art($arg1,$arg2,$arg3,$arg4,$arg5) { php artisan $arg1 $arg2 $arg3 $arg4 $arg5} Set-Alias a art #### Use as by default Alias ##### # ge:r => generate:resource # ge:c => generate:controller # ge:s => generate:seed # ge:m => generate:model # ge:sc => generate:scaffold # m:m => migrate:make # m:f => migrate:refresh # m:re => migrate:reset # m:b => migrate:rollback # Try it ## PS c:\laravel_proj> a ge:r post @@ -24,7 +25,7 @@ Set-Alias m:b migrate:rollback function codecept($arg1,$arg2) { php codecept.phar $arg1 $arg2 } Set-Alias c codecept # *** Other *** # function www($arg1) { $arg="c:/xampp/htdocs/" + $arg1 -
abhishekkhaware created this gist
Oct 25, 2013 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,40 @@ # Laravel Artisan Commands function art($arg1,$arg2,$arg3,$arg4,$arg5) { php artisan $arg1 $arg2 $arg3 $arg4 $arg5} Set-Alias a art Set-Alias ge:r generate:resource Set-Alias ge:c generate:controller Set-Alias ge:s generate:seed Set-Alias ge:m generate:model Set-Alias ge:sc generate:scaffold Set-Alias m:m migrate:make Set-Alias m:f migrate:refresh Set-Alias m:re migrate:reset Set-Alias m:b migrate:rollback # Try it ## PS c:\laravel_proj> a ge:r post # For CodeCept ## Assuming codecept.phar file is in your current working Directory function codecept($arg1,$arg2) { php codecept.phar $arg1 $arg2 } Set-Alias c codecept # ***Other ** function www($arg1) { $arg="c:/xampp/htdocs/" + $arg1 cd $arg } ## Try it: # PS C:\> www # OR, # PS C:\> www laravel_proj