alpifra / lucca-php
A basic PHP client interracting with the Lucca RH API V3 services.
Installs: 27
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/alpifra/lucca-php
Requires
- php: >=8.0
- ext-curl: *
- ext-json: *
This package is auto-updated.
Last update: 2026-01-18 15:06:33 UTC
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 !