otis22/vetmanager-url
最新稳定版本:1.0.1
Composer 安装命令:
composer require otis22/vetmanager-url
包简介
Vetmanager - CRM for veterinary. All vetmanager clients has access to their crm via URL. Now Vetmanager is changing server architecure and URL can changes. This project for getting full URL by only first part. Use this library avoid hardcode.
README 文档
README
Vetmanager Url
Vetmanager - CRM for veterinary. All vetmanager clients has access to their crm via URL. Now Vetmanager is changing server architecure and URL can changes. This project for getting full URL by only first part. Use this library avoid hardcode.
Now url address has format $domain.vetmanager.ru for example: myclinic76.vetmanager.ru, but it url format will be change.
Vetmanager REST API in Postman
How to use
Installation
composer require otis22/vetmanager-url
Examples
use function Otis22\VetmanagerUrl\url; /* return Url object, which can be convert to string with full url address https://$domain.vetmanager.ru */ echo url('myclinic')->asString();
Where 'myclinic' is first part from your clinic url. $domain.vetmanager.ru and "vetmanager.ru" is a variable
Contributing
For run all tests
make all
or connect to terminal
make exec
Dafault php version is 8.2. Use PHP_VERSION= for using custom version.
make all PHP_VERSION=8.0 # run both make all PHP_VERSION=7.4 && make all PHP_VERSION=8.0
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.26k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-11-03