Skip to content

Instantly share code, notes, and snippets.

@eviweb
Created October 11, 2013 13:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eviweb/6934385 to your computer and use it in GitHub Desktop.
Save eviweb/6934385 to your computer and use it in GitHub Desktop.
A unique artisan command for many Laravel projects
#! /bin/bash
# Set this file as executable in a directory of your PATH
# Once in any of your Laravel project, just run : artisan [...params]
[ -e ./artisan ] && ./artisan $@ || echo 'Not a Laravel project'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment