namboy94 / cheetah-bets
Football Bets library for PHP 7.1+
Requires
- php: >=7.1.0
- ext-mysqli: *
- namboy94/welwitschi-auth: dev-master
Requires (Dev)
This package is not auto-updated.
Last update: 2024-11-02 00:58:52 UTC
README
Cheetah-Bets is a collection of classes and scripts that enable you to integrate a football/soccer betting service into your website. The data is powered by openligadb.de.
Usage
First off, you will have to make sure the required database tables exist within your database. To do this, you just have to initialize a SchemaCreator object with a connection to your database.
Once this is done, you can use any of the other classes in the library.
To fill the database with data, you will have to run the leagugetter script.
Installation
You can use cheetah-bets by adding the requirement
"namboy94/cheetah-bets": "dev-master"
to your composer.json
file an then running composer install
. You can then
find the classes in vendor/namboy94/cheetah-bets/src
. Thanks to autoloader,
you should be able to easily access the classes from cheetah-bets.
Documentation
All classes and methods are documented using DocBlock comments. Additional Documentation can be found in doc.