alpifra/lucca-php
Composer 安装命令:
composer require alpifra/lucca-php
包简介
A basic PHP client interracting with the Lucca RH API V3 services.
README 文档
README
A basic and stand-alone PHP client interracting with the Lucca RH API V3 services. For more information about the API please see the documentation.
Installation
The recommended way to install Lucca API PHP client is through this Github repository:
{
"requires": {
"alpifra/lucca-php": "dev-master",
...
}
"repositories": [
{
"type": "vcs",
"url": "https://github.com/Alpifra/lucca-php.git"
}
],
}
Usage
Instanciate client and request leaves
<?php $ownerId = 23; $date = ['between', '2021-01-01', '2021-01-31']; $client = new Alpifra\LuccaPHP\TimmiAbsences('***API_KEY***'); $client->setFields('id', 'name', 'url'); $client->list($ownerId, $date);
Contribution
This package only implement the Lucca API service that I need (Timmi Absences), but you're welcome to contribute to this repository with you own implementation by sending me a PR. Happy coding !
统计信息
- 总下载量: 27
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-10-18