oscar-team/elena-php
最新稳定版本:v1.0.6
Composer 安装命令:
composer require oscar-team/elena-php
包简介
Elena API integration with php
README 文档
README
This is a PHP library for integrating Elena api
Installation
Use the package manager composer to install.
composer require oscar-team/elena-php
Usage
The API integration built with Saloon
require __DIR__ . '/vendor/autoload.php'; $connector = new \OscarTeam\ElenaPhp\ElenaApi('test'); $connector->withBasicAuth('username', 'password'); $request = new \OscarTeam\ElenaPhp\Requests\GetRegistrations(); $connector->send($request)->dto(); // gives you response as an DTO Objects //or $connector->send($request)->json(); // gives uou response as an array
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
统计信息
- 总下载量: 3.99k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-04-14