LaravelPackages.net
Acme Inc.
Toggle sidebar
xxaxxo/fbd

Wrapper for football-data.org for Laravel 5.*

24
0
1.2
About xxaxxo/fbd

xxaxxo/fbd is a Laravel package for wrapper for football-data.org for laravel 5.*. It currently has 0 GitHub stars and 24 downloads on Packagist (latest version 1.2). Install it with composer require xxaxxo/fbd. Discover more Laravel packages by xxaxxo or browse all Laravel packages to compare alternatives.

Last updated

Laravel 5 package for football-data.org

============================

football-data.org

This package sole purpose is to make your interaction with football-data.org a bit easier. Pull the package - register in football-data.org

Put in your .env file

FBD_TOKEN=
FBD_URL=http://api.football-data.org/v1/

All the responses are returned as laravel collections for easier management after the request

composer require xxaxxo/fbd dev-master

Add

use xxaxxo\fbd\Services\FootballData\FootballData;

in your controller after getting the package and feed it to the model

Added a filter setter now you can use

$footballData->filter('timeFrame', 'n1')->getFixtureData();

for all the queries that accept filtering params

Comments