Skip to content

dwolfhub/auth-token

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auth-token

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

About

Laravel token based authentication package

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages