bgallagh3r
8/22/2013 - 1:33 AM

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 curre

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
}