PHP code example of kami / icobench-bundle

1. Go to this page and download the library: Download kami/icobench-bundle library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

kami / icobench-bundle example snippets

 

// app/AppKernel.php

$bundles = [
    ...
    new Kami\IcoBenchBundle\KamiIcoBenchBundle(),
    ...
]



/** @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);