Skip to content

Instantly share code, notes, and snippets.

@bgallagh3r
Created August 22, 2013 01:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save bgallagh3r/6302270 to your computer and use it in GitHub Desktop.
Save bgallagh3r/6302270 to your computer and use it in GitHub Desktop.
Command to quickly set up a new Laravel 4 install. Just pass it the path to install. Eg. ccpl ~/dev/test or ccpl test to install in current directory.
#!/bin/bash
function ccpl () {
echo "Installing Laravel in" $1
composer create-project laravel/laravel $1 --prefer-dist
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment