This bundle provides Symfony wrapper for icobench-client
composer require kami/icobench-bundle
<?php
// app/AppKernel.php
$bundles = [
...
new Kami\IcoBenchBundle\KamiIcoBenchBundle(),
...
]
kami_icobench:
private_key: "your_private_key"
public_key: "your_public_key"
guzzle_options: ~
<?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);
vendor/bin/phpunit