xxaxxo/fbd
Composer 安装命令:
composer require xxaxxo/fbd
包简介
Wrapper for football-data.org for Laravel 5.*
关键字:
README 文档
README
============================
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
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-11-21