rugaard / statsfc
This package parses the API available through StatsFC.
Requires
- php: >=7.1.0
- guzzlehttp/guzzle: ~6.0
- tightenco/collect: ^5.3
Requires (Dev)
- phpunit/phpunit: ~5.7
This package is auto-updated.
Last update: 2024-10-16 17:58:24 UTC
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_fopen
in 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.