nonoesp/authenticate 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

nonoesp/authenticate

最新稳定版本:7.0

Composer 安装命令:

composer require nonoesp/authenticate

包简介

A Laravel helper package for frequently-used operations—so you don't have to think.

README 文档

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 users
  • RememberMiddleware · 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!

统计信息

  • 总下载量: 288
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-11-01