nonoesp / authenticate
This package is abandoned and no longer maintained.
No replacement package was suggested.
A Laravel helper package for frequently-used operations—so you don't have to think.
7.0
2020-03-03 15:54 UTC
Requires
- illuminate/support: ^7.0
- nonoesp/thinker: ^7.0
- thujohn/twitter: ^2.2.11
- dev-master
- 7.x-dev
- 7.0
- 6.5
- 6.3.1
- 6.3
- 6.2
- 6.1
- 6.0.3
- 6.0.2
- 6.0.1
- 6.0
- 5.7.0
- 5.5.0
- 5.4.x-dev
- 5.4.11
- 5.4.10
- 5.4.9
- 5.4.8
- 5.4.7
- 5.4.6
- 5.4.5
- 5.4.4
- 5.4.3
- 5.4.2
- 5.4.1
- 5.4.0
- 5.2.x-dev
- 5.2.1
- 5.2.0
- 5.1.x-dev
- v1.4.03
- v1.4.02
- v1.4.0
- v1.3.0
- v1.2.4
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2
- v1.1
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0
This package is auto-updated.
Last update: 2020-04-15 18:47:54 UTC
README
Simple authentication for Laravel.
Installation
composer require nonoesp/authenticate
Next, add the following middlewares to your app/Http/Kernel.php
file.
LoginMiddleware
· restricts routes to logged usersRememberMiddleware
· remembers logged users
protected $middleware = [ /// nonoesp/authenticate // TODO - verify we need these first two here \Illuminate\Session\Middleware\StartSession::class, \Illuminate\View\Middleware\ShareErrorsFromSession::class, \Nonoesp\Authenticate\Middleware\RememberLogin::class, /// ... ]; protected $routeMiddleware = [ /// nonoesp/authenticate 'login' => \Nonoesp\Authenticate\Middleware\RequireLogin::class, /// ... ];
Optionally, publish and customize configuration file.
php artisan vendor:publish --provider="Nonoesp\Authenticate\AuthenticateServiceProvider" --tag=config
License
Authenticate is licensed under the MIT license. (http://opensource.org/licenses/MIT)
Me
Hi. I'm Nono Martínez Alonso (Nono.MA), a computational designer with a penchant for simplicity.
I host Getting Simple—a podcast about how you can live a meaningful, creative, simple life—sketch things that call my attention, and write about enjoying a slower life.
If you find this pacakge useful in any way, reach out on Twitter at @nonoesp. Cheers!