文件名称:yandex-direct-client:轻量级好用的 Yandex Direct API 版本 5 客户端
文件大小:39KB
文件格式:ZIP
更新时间:2024-06-18 04:16:59
php yandex yandex-direct PHP
Yandex Direct API v5 PHP 客户端 Современный и удобный PHP-клиент 。 Требования PHP 7.2版本 Установка $ composer require gladyshev/yandex-direct-client Использование $ credentials = \ Gladyshev \ Yandex \ Direct \ Credentials :: client ( getenv ( '_TOKEN_' ) ); $ httpClient = new \ GuzzleHttp \ Client (); // Guzzle 7 или любой другой PSR-18 HTTP-клиент $ client = new \ Gladyshev \ Yandex \ Direc
【文件预览】:
yandex-direct-client-4.x
----.gitignore(35B)
----src()
--------Exception()
--------functions.php(440B)
--------Credentials.php(4KB)
--------ServiceFactoryInterface.php(403B)
--------Service()
--------Client.php(3KB)
--------CredentialsInterface.php(1KB)
--------AbstractService.php(4KB)
--------ServiceInterface.php(153B)
----.travis.yml(354B)
----LICENSE(1KB)
----composer.json(1KB)
----examples()
--------agency_clients.php(330B)
--------reports.php(932B)
--------simple.php(358B)
----README.md(2KB)
----tests()
--------Mocks()
--------CredentialsTest.php(4KB)
--------ClientTest.php(2KB)
----.scrutinizer.yml(902B)
----phpunit.xml.dist(558B)
----phpcs.xml(716B)