football-data.org API Container for Laravel 5.2
Via Composer
$ composer require grambas/football-data
Default api version: "v1". If you want to use another, insert paramter to the end of function of api version. For Example Football::getLeagues('aplha'); or getLeagueFixtures($id, 'alpha')
'providers' => [
Grambas\FootballData\FootballDataServiceProvider::class,
]
'aliases' => [
'Football' => Grambas\FootballData\Facades\FootballDataFacade::class,
]
Football::getLeagues();
Football::getLeagueFixtures($id)
Football::getFixtures($id, $matchday)
Football::getLeagueTable($id)
Football::getLeagueTeams($id)
Football::getTeam($id)
Football::getTeamPlayers($id)
Football::getTeamFixtures($id)
The MIT License (MIT). Please see License File for more information.