kami / icobench-bundle
IcoBench API Client Bundle
Installs: 2 175
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- kami/icobench-client: dev-master
- symfony/framework-bundle: ^3.4@dev
Requires (Dev)
- phpunit/phpunit: ^6.4@dev
This package is auto-updated.
Last update: 2024-10-29 04:14:49 UTC
README
This bundle provides Symfony wrapper for icobench-client
Installation
composer require kami/icobench-bundle
<?php // app/AppKernel.php $bundles = [ ... new Kami\IcoBenchBundle\KamiIcoBenchBundle(), ... ]
Configuration
kami_icobench: private_key: "your_private_key" public_key: "your_public_key" guzzle_options: ~
Usage
<?php /** @var \Kami\IcoBench\Client $client */ $client = $this->get('kami.icobench.client'); $client->getIco($id, $data); $client->getIcos($type, $data); $client->getOther($type); $client->getPeople($type, $data);
Testing
vendor/bin/phpunit