承接 moc-solucoes/laravel-auth 相关项目开发

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

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

moc-solucoes/laravel-auth

Composer 安装命令:

composer require moc-solucoes/laravel-auth

包简介

Módulo de autenticação no laravel.

README 文档

README

About Auth Module

Authenticate module is a module on Laravel framework, have the functions listed here:

  • Login, Logout, Register, Recovery Password
  • Permissions engine
  • Crud Users
  • Crud Permissions (roles)
  • Crud Profiles

This module is private, exclusive using on MOC Solutions.

Dependencies

Unique dependencie is a module moc-solutions/laravel-core (auto-install)

How Install

  • Step 1 - Use the command composer require moc-solutions/laravel-auth

  • Step 2 - Edit the file config/app.php in array providers add the lines:
    \MOCSolutions\Auth\AppServiceProvider::class,
    \MOCSolutions\Core\AppServiceProvider::class,

  • Step 3 - Edit the file config/auth.php in array providers.users change model:
    'model' => \APP\User::class, to 'model' => \MOCSolutions\Auth\Models\Usuario::class,

  • Step 4 - Use the command php artisan vendor:publish, select first Core Provider after Auth Provider.

  • Step 5 - Add the view files to menu resources/views/shared/_able-menu.blade.php and resources/views/shared/_able-menu-externo.blade.php

  • Step 6 - Edit the file app/Http/Kernel.php in array $routeMiddleware add the lines:
    'permission' => \MOCSolutions\Auth\Middleware\Permission::class,
    'authenticate' => \MOCSolutions\Auth\Middleware\Authenticate::class,

  • Step 7 - Edit the file app/Http/Middleware/VerifyCsrfToken.php in array $except add the line:
    'auth/admin/api/*'

  • Step 8 - Execute te migrate using the command php artisan migrate

  • Step 9 - Execute the seed to create init user and permissions, using command php artisan db:seed --class=SeedAuthSeeder

  • Step 10 - Copy the Example Models Files Examples Models to your project, into app/Http/Models/Auth

Example Models Files Examples Models.

Example menus Examples Menus.

License

This library is released under the AGPL-3.0 license.

Security Vulnerabilities

If you discover a security vulnerability within Laravel Auth, please send an e-mail to MOC Soluções via contato@mocsolucoes.com.br. All security vulnerabilities will be promptly addressed.

Maintained by

This library is maintained by MOC SOLUÇÕES.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: AGPL-3.0
  • 更新时间: 2020-06-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固