insolutions/laravel-auth 问题修复 & 功能扩展

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

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

insolutions/laravel-auth

Composer 安装命令:

composer require insolutions/laravel-auth

包简介

README 文档

README

This README of generic order backend package

What is this repository for?

Package encapsulates auth mechanism for laravel

How do I get set up?

1. composer.json

composer require insolutions/laravel-auth

2. Publish sources

php artisan vendor:publish

  • publishes db migrations into /database/sql/insolutions/auth
  • publishes listeners/subscribers into /app/Listeners

3. Register package ServiceProvider

(not needed for Laravel 5.5)

in file app/config.php extend array by line:

"providers" => [
	
	...
		
	INS\Package\ServiceProvider::class,		
	
]

4. Register subscriber

in file app/Providers/EventServiceProvider.php extend array by line:

protected $subscribe = [
	
	...
	
	'App\Listeners\AuthSubscriber',
	
];

Modules interface

Packages can not be dependent on any project-specific application. Only allowed dependencies are allowed to other laravel packages.

Project specific actions after some functionality (Events) covered by package can be defined in Listeners published into app/Listeners folder when installing composer package.

Auth Listener: app/Listeners/AuthSubscriber.php

Subscribed events:

  • onEntityCreated: when new order is created, $event->order = Order model

Who do I talk to?

Jakub Lajmon jakub@lajmon.name

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-11-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固