otis22/vetmanager-token
最新稳定版本:0.2.2
Composer 安装命令:
composer require otis22/vetmanager-token
包简介
Project for using token auth for Vetmanager Rest API
README 文档
README
vetmanager-token
Vetmanager - CRM for veterinary with REST API. vetmanager-token is library for work with token auth in Vetmanager API.
Vetmanager REST API in Postman
How to use
use function Otis22\VetmanagerToken\credentials; use function Otis22\VetmanagerToken\token; $credentials = credentials('login', 'password', 'app_name'); $domainName = 'myclinic'; // first part from programm url address echo token($credentials, $domainName)->asString();
Contributing
For run all tests
make all
or connect to terminal
make exec
Dafault php version is 8.0. Use PHP_VERSION= for using custom version. Project works only with 8.0 and 8.1 version.
make all PHP_VERSION=8.1 # run both make all PHP_VERSION=8.1 && make all
For integration tests copy .env.example to .env and fill with yours values
all commands
# security check make security # composer install make install # composer install with --no-dev make install-no-dev # check code style make style # run static analyze tools make static-analyze # run unit tests make unit # check coverage make coverage # check integration, .env required make integration
统计信息
- 总下载量: 1.19k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-12-05