Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.

Laravel 4 Installation

Timothy Seebus edited this page Sep 16, 2013 · 6 revisions

Installing in Laravel 4 (with Composer)

Step 1

Start by adding " t4s/camelot-auth": "*" to the require attribute in your composer.json file.

{
	"require": {
		"t4s/camelot-auth": "*"
	}
}

Alternatively, you can issue the following in the terminal:

	$ php composer.phar require t4s/camelot-auth
Step 2

Run php composer.phar update from the command line

Step 3

Add "T4s\CamelotAuth\CamelotAuthServiceProvider" to the providers array in app/config/app.php

Step 4

Add "Camelot" => "T4s\CamelotAuth\Facades\Camelot", to the aliases array also in app/config/app.php

Step 5

Publish configurations:

	$ php artisan config:publish t4s/camelot-auth
Step 6

Run migrations:

	$ php artisan migrate --package="t4s/camelot-auth"

Now you can setup one of the Authentication drivers

Clone this wiki locally