Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.
/ matchy Public archive

A Laravel application that uses the sportmonks-soccer API

License

Notifications You must be signed in to change notification settings

sebastiaanspeck/matchy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codacy Badge BCH compliance Build Status

Laravel Sportmonks Website

Laravel website that uses Sportmonks (live)score API calls. Documentation for the API can be found here

Screenshots

Gallery with screenshots

Installation

1- Run Composer to install requirements.

$ composer install

2- Publish the configuration file

$ php artisan vendor:publish --provider="Sportmonks\SoccerAPI\SoccerAPIServiceProvider"

3- Make a copy of .env.example and rename to .env

4- Add your API token in the .env file to SPORTMONKS_API_TOKEN

If you don't have a API-token, you can get a free one here This should be enough to experiment with the code.

5- Review the configuration file and change the 'without_data' => 'false' to 'without_data' => 'true':

config/soccerapi.php

6- Run php artisan key:generate to overcome the next problem

7- Run php artisan serve to use the application

8- If the application doesn't work as expected, run the following commands. If the problem still exists, open a issue.

php artisan config:clear
php artisan cache:clear
composer dump-autoload
php artisan view:clear
php artisan route:clear

Special thanks to

kirill-latish

About

A Laravel application that uses the sportmonks-soccer API

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages