承接 lucky-saini/laravel-basic-authentication 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

lucky-saini/laravel-basic-authentication

Composer 安装命令:

composer require lucky-saini/laravel-basic-authentication

包简介

All Basic authentications

README 文档

README

laravel basic authentication package for both admin and front-end authentication. We are providing authentication for both frontend and admin sites. Because most of the sites we need to create admin site for content editing. Where super admin manage his site contents.

This package is compatible with Laravel 5.2 and package will not work below 5.2.

Requirements

PHP >= 5.5.9

Installation

Require this package in your composer.json and update composer.

"lucky-saini/laravel-basic-authentication": "~1.0.2"

After updating composer, add the ServiceProvider to the providers array in config/app.php

Luckys\BasicAithentication\BasiAuthenticationServiceProvider::class,

After setup all the above things a command will be added in php artisan. This command copy all the files in appropriate folders. In this command we provided user to create only required scaffolding feature. You can set specific argument according to requirement. It has following arguments admin, frontend and both. both is selected by default if this argument is empty.

php artisan luckys:auth [scaffold_for]

To publish the config settings in Laravel 5.2 use:

php artisan vendor:publish --provider="Luckys\BasicAithentication\BasiAuthenticationServiceProvider"

This will add an admin-auth.php config file to your config folder.

Set admin password related setting in config/auth.php file. Like

  'admin_users' => [
    'provider' => 'users',
    'email' => 'admin.auth.emails.password',
    'table' => 'password_resets',
    'expire' => 60,
  ],

After this code will look like this:

  'passwords' => [
    'users' => [......],

    'admin_users' => [
        'provider' => 'users',
        'email' => 'admin.auth.emails.password',
        'table' => 'password_resets',
        'expire' => 60,
    ],
  ],

Documentation

This plugin is an enhancement of Laravel make:auth functionality. Laravel provide us only single authentication. But in this plugin we can create two authentications. As most of the sites we have two sections one is Frontend (for public) site and second is Admin (for site owner). This package provide you to create both types of authentications.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-06-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固