PHP code example of tifon / sbif

1. Go to this page and download the library: Download tifon/sbif 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/ */

    

tifon / sbif example snippets




use Tifon\Sbif\Sbif;

$sbif = new Sbif($apikey);
$uf = $sbif->resource('uf')->get();




use Tifon\Sbif\Sbif;

$sbif = new Sbif($apikey);
$uf = $sbif->resource('uf')->year(2014)->get();