rugaard/statsfc
Composer 安装命令:
composer require rugaard/statsfc
包简介
This package parses the API available through StatsFC.
README 文档
README
📝 Introduction
This package parses the API available through StatsFC.
StatsFC is a service that exposes data about the biggest football leagues in Europe. You can i.e. get data about fixtures, squads, standings, top scorers and much more.
⚠️ Requirements
- PHP 7.1+
- cURL 7.19.4+ (with OpenSSL and zlib) or make sure you enable
allow_url_fopenin your systemsphp.ini
📦 Installation
The recommended way to install this package is through Composer, by using the following command:
composer require rugaard/statsfc
Alternatively, you can add the package by editing your projects existing composer.json file:
{
"require": {
"rugaard/statsfc": "~1.0"
}
}
and then afterwards update Composers dependencies by using the following command:
composer update
Laravel
If you're using the Laravel framework, this package comes with a out-of-the-box Service Provider. After the package has been installed, simply add the following line to the config/app.php in the providers array:
'providers' => [ Rugaard\StatsFC\Providers\LaravelServiceProvider::class, ]
After adding the LaravelServiceProvider class to the config/app.php file, run the following command in your terminal to publish the associated config file:
php artisan vendor:publish --provider="Rugaard\StatsFC\Providers\LaravelServiceProvider"
⚙️ Usage
TODO: Write instructions
🚓 License
StatsFC is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-04-15