dwolf555/auth-token

There is no license information available for the latest version (v1.0) of this package.

v1.0 2013-12-30 02:05 UTC

README

Laravel token based authentication package

Setup

  • Add this to your Autoloaded Service Providers array in config/app.php
Dwolf555\AuthToken\AuthTokenServiceProvider
  • Run migrations using artisan
php artisan migrate --package="dwolf555/auth-token"
  • Add a user using your own methods
  • Add before filter 'auth-token' to your routes/controllers
  • Login via POST /login with fields email/password or username/password