alpifra/lucca-php 问题修复 & 功能扩展

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

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

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-10-18