New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

xxaxxo/fbd

Wrapper for football-data.org for Laravel 5.*
24
Install
composer require xxaxxo/fbd
Latest Version:1.2
PHP:>=5.5.9
License:MIT
Last Updated:Nov 27, 2016
Links: GitHub  ·  Packagist
Maintainer: xxaxxo

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

Related Packages

railken/lara-eye
38,923 38
api
juampi92/api-resources

Manage your resources maintaining API versioning

934,502 111
tailflow/laravel-orion

Orion for Laravel allows you to build a fully featured REST API based on your El...

814,907 1,591
unlu/laravel-api-query-builder

Laravel API Query Builder Package.

720,455 329
juampi92/phecks

A package to run custom PHP checks

411,477 4

Version History

Version Released PHP License
1.2 >=5.5.9 MIT