Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 869 Bytes

README.md

File metadata and controls

46 lines (36 loc) · 869 Bytes

Kami IcoBecnch Bundle Build Status

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