kudinovfedor / ukraine-api
PHP wrapper for API ukraine.com.ua
v1.0.0
2018-04-04 13:26 UTC
Requires
- php: >=7.0.0
- guzzlehttp/guzzle: ^6.3
This package is auto-updated.
Last update: 2024-05-15 23:55:34 UTC
README
Installation
You need composer to install this library.
composer require kudinovfedor/ukraine-api
Usage
use KudinovFedor\AdmTools\Api; $api = new Api('AUTH_LOGIN', 'AUTH_TOKEN');
or
$api = new \KudinovFedor\AdmTools\Api('AUTH_LOGIN', 'AUTH_TOKEN');
Laravel 5.5+:
If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php
KudinovFedor\AdmTools\AdmToolsServiceProvider::class,
Copy the package config to your local config with the publish command:
php artisan vendor:publish --provider="KudinovFedor\AdmTools\AdmToolsServiceProvider"
Methods
What parameters accepts a particular method can be found in the official API documentation by reference api.adm.tools