armandsar/betvictor-broccoli
Composer 安装命令:
composer require armandsar/betvictor-broccoli
包简介
Api client for betvictor
README 文档
README
Simple betvictor api client for Laravel 5.
Install
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
Usage
$client = new Armandsar\BetVictorBroccoli\BetVictorClient();
or let Laravel do this by type hinting dependency in constructors or controller methods
Available methods
Sports:
$client->sports();
$client->meetings($sportId);
$client->meetingEvents($sportId, $meetingId);
Testing
$ phpunit
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 146
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-12-11