dwolf555 / auth-token
Installs: 21
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
pkg:composer/dwolf555/auth-token
Requires
- php: >=5.3.0
- illuminate/support: 4.0.*
- rhumsaa/uuid: 2.5.*
This package is not auto-updated.
Last update: 2025-09-23 05:56: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