reksakarya/hc-sync
最新稳定版本:v1.12.0
Composer 安装命令:
composer require reksakarya/hc-sync
包简介
Human Capital Bootstrap
README 文档
README
Introduction
HC Sync will help you to share human capital data based on event
Requirements
At this time, Laravel Signature only support:
- Laravel ^8.x.
- PHP ^8.1.0
Installation
-
run
composer require reksakarya/hc-sync. -
add autoload to
composer.json
...
"autoload": {
"psr-4": {
...
"HcSync\\": "vendor/reksakarya/hc-sync/src",
...
}
}
...
-
run command
composer dump-autoload -
add provider to `config/app.php
"providers" => [
...
/*
* Package Service Providers...
*/
HcSync\ServiceProvider::class,
...
]
- To publish signature config into application, run:
$ php artisan vendor:publish
- Choose
HcSync\ServiceProvider
How to use
to sync Human Capital data, you just need to run php artisan hc:sync. you can run command by cron every 2 minutes for daily, but if you integrate your app with HcSync in firt time, you need to run command by nohup.
List Of Event
ENTITY |
EVENT |
|---|---|
| Organization | organizationCreated |
| Organization | organizationUpdated |
| Employee | employeeCreated |
| Employee | employeeUpdated |
| Employee | changeOrganization |
| Employee | changePosition |
| Employee | updatePosition |
| Employee | employeeActivated |
| Employee | employeeDisabled |
| Teamwork | teamworkCreated |
| Teamwork | teamworkUpdated |
| Teamwork | teamworkActivated |
| Teamwork | teamworkDeactivated |
| Teamwork | teamleaderActivated |
| Teamwork | teamleaderDeactivate |
| Teamwork | teammemberActivated |
| Teamwork | teammemberDeactivate |
统计信息
- 总下载量: 49
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2023-10-05