This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (dev-master) of this package.

A drop in replacement for Laravel 4 Auth Driver.

dev-master 2013-10-01 04:36 UTC

This package is not auto-updated.

Last update: 2020-01-19 16:28:31 UTC


This is a provider for adding a stormpath driver to your auth system for laravel 4.

What is Stormpath?


Stormpath is the first easy and secure user management and authentication service for developers. With a simple REST API integration, developers can reduce development and operations costs, while protecting users with best-in-class security.


Begin by installing this package through Composer. Edit your project's composer.json file to require lamarus/stormpath.

"require": {
	"laravel/framework": "4.0.*",
	"lamarus/stormpath": "dev-master"
"minimum-stability" : "dev"

Next, update Composer from the Terminal:

composer update

After the command completes, Run the following command

php artisan config:publish lamarus/stormpath

Then, go to app/config/packages/lamarus/stormpath/config.php and put in your id, secret, and your applicationId.

Once you have added your configuration, add the service provider. Open app/config/app.php, and add a new item to the providers array.


The final step is to change your auth driver. Open app/config/auth.php, and change the driver to stormpath


This driver replacement has been created to make it easy to replace the current auth. All the commands are the same and are used just like the current way.


Route::get('attempt', function() {
	$user = Auth::attempt(array('username' => 'test', 'password' => '1234Abcd'));

Route::get('check',function() {

Route::get('loginUsingId',function() {
	$user = 'xXxXxXxX'; // the id from stormpath for the user

Route::get('once', function() {
	Auth::once(array('username' => 'test', 'password' => '1234Abcd'));

Route::get('login', function() {
	$user = new \Lamarus\Stormpath\StormpathUser('');

Route::get('logout', function() {