axl-media-org / oddstake-sdk
SDK for the Oddstake service.
0.1.1
2021-02-10 10:50 UTC
Requires
- php: ^7.4|^8.0
- guzzlehttp/guzzle: ^6.5|^7.0
- illuminate/support: ^7.0|^8.0
Requires (Dev)
- laravel/legacy-factories: ^1.1
- mockery/mockery: ^1.4
- orchestra/testbench: ^5.0|^6.0
This package is auto-updated.
Last update: 2024-11-13 15:26:49 UTC
README
Oddstake Odds implementation in PHP.
🚀 Installation
You can install the package via composer:
composer require axl-media-org/oddstake-sdk
🙌 Usage
Laravel
use AxlMedia\OddstakeSdk\Facade as Oddstake; foreach (Oddstake::getSupportedCountries() as $country) { $response = Oddstake::soccer($country['feed_name']); }
PHP
use AxlMedia\OddstakeSdk\Oddstake; foreach (Oddstake::getSupportedCountries() as $country) { $response = (new Oddstake)->soccer($country['feed_name']); }
🐛 Testing
vendor/bin/phpunit
🤝 Contributing
Please see CONTRIBUTING for details.