, (*1)
๐ Introduction
This package parses the API available through StatsFC., (*2)
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., (*3)
โ ๏ธ Requirements
- PHP 7.1+
- cURL 7.19.4+ (with OpenSSL and zlib) or make sure you enable
allow_url_fopen
in your systems php.ini
๐ฆ Installation
The recommended way to install this package is through Composer, by using the following command:, (*4)
composer require rugaard/statsfc
Alternatively, you can add the package by editing your projects existing composer.json
file:, (*5)
{
"require": {
"rugaard/statsfc": "~1.0"
}
}
and then afterwards update Composers dependencies by using the following command:, (*6)
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:, (*7)
'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:, (*8)
php artisan vendor:publish --provider="Rugaard\StatsFC\Providers\LaravelServiceProvider"
โ๏ธ Usage
TODO: Write instructions, (*9)
๐ License
StatsFC is open-sourced software licensed under the MIT license., (*10)