PHP code example of rhayun / php-ign

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

    

rhayun / php-ign example snippets



$i = new IGN\Game("http://www.ign.com/games/grid-2/pc-82116");
$i->getTitle();