thotam/thotam-hr
Composer 安装命令:
composer require thotam/thotam-hr
包简介
HR Manager Package
关键字:
README 文档
README
This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.
Installation
You can install the package via composer:
composer require thotam/thotam-hr
Usage
edit Route::middleware(['web', 'auth', 'CheckAccount', 'CheckHr', 'CheckMail']) in App\Providers\RouteServiceProvider
Add "hr_key" to fillable of User Models
Add "Thotam\ThotamHr\Traits\HasHrTrait" to User Models
Add CheckHR Middleware
Add 'CheckHr' => Thotam\ThotamHr\Http\Middleware\CheckHR::Class To App\Http\Kernel.php in $routeMiddleware Add 'CheckInfo' => Thotam\ThotamHr\Http\Middleware\CheckInfo::Class To App\Http\Kernel.php in $routeMiddleware
Add this to .env
DropboxAppkey="" DropboxAppsecret="" DropboxRefreshToken=""
Next, you should migrate your database:
php artisan migrate
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email thanhtamtqno1@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-04-16