leyhmann / docdochelpers
用于使用docdoc.ru合作伙伴API的简单助手
v2.1.4
2020-06-12 15:24 UTC
Requires
- php: ^7.2
- ext-json: *
- kriswallsmith/buzz: ^0.17.2
Requires (Dev)
- phpunit/phpunit: ^6.2|^7.0
README
安装
通过composer安装。
composer require leyhmann/docdochelpers
示例
use Leyhmann\DocDoc\Services\DoctorsService; $client = new Client(DOCDOC_LOGIN, DOCDOC_PASSWORD); $doctorsService = new DoctorsService($client); $doctors = $doctorsService->all($cityId : int, $count: int|null, $start: int|null); foreach($doctors as $doctor) { // do something }