PHP code example of slvler / balldontlie-laravel

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

    

slvler / balldontlie-laravel example snippets

 php
Balldontlie::players(237);
 php
Balldontlie::teams(14);
 php
Balldontlie::games(1);
 php
Balldontlie::stats();