Simple betvictor api client for Laravel 5.
Via Composer
$ composer require armandsar/betvictor-broccoli
After updating composer, add the ServiceProvider to the providers array in config/app.php
Armandsar\BetVictorBroccoli\ServiceProvider::class,
or let Laravel autoload package if on >= 5.5
Publish api config
$ php artisan vendor:publish
$client = new Armandsar\BetVictorBroccoli\BetVictorClient();
or let Laravel do this by type hinting dependency in constructors or controller methods
Sports:
$client->sports();
$client->meetings($sportId);
$client->meetingEvents($sportId, $meetingId);
$ phpunit
The MIT License (MIT). Please see License File for more information.