PHP code example of rebing / laravel-soccerama
1. Go to this page and download the library: Download rebing/laravel-soccerama 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/ */
rebing / laravel-soccerama example snippets
Sportmonks\SoccerAPI\SoccerAPIServiceProvider::class,
'SoccerAPI' => Sportmonks\SoccerAPI\Facades\SoccerAPI::class,
bash
$ php artisan vendor:publish --provider="Sportmonks\SoccerAPI\SoccerAPIServiceProvider"
config/soccerapi.php
config/soccerapi.php
$response = SoccerAPI::fixtures()->byId($id);