ruhul/bog-laravel
Composer 安装命令:
composer require ruhul/bog-laravel
包简介
BlueOceanGaming Seamless integration API library package for laravel
README 文档
README
BlueOceanGaming Seamless integration API library package for laravel.
Complete documantation coming soon.........
Quick Installation
composer require ruhul/bog-laravel
Once the ruhul/bog-laravel package has been installed, you need to install using this artisan command:
php artisan bogaming:install
Usage
// fetch all games return BlueOceanGamiang::getGamelist([ 'currency' => 'USD' ]); // create player account to blueoceangaming system return BlueOceanGaming::createPlayer([ 'user_username' => 'xxxxxx', 'user_password' => 'xxxxxx', 'currency' => 'USD' ]); // lauchning game return BlueOceanGaming::getGame([ 'user_username' => 'xxxxxx', 'user_password' => 'xxxxxx', 'currency' => 'USD', 'lang' => 'en', // by default english 'game_id' => 'xxxx', 'homeurl' => 'http://yoursite.com', 'cashierurl' => 'http://yousite.com/cashier', 'play_for_fun' => true, // if false then real mode ]);
Env
#For staging BOG_SANDBOX=true, for production BOG_SANDBOX=false BOG_SANDBOX=true BOG_PASSWORD="blueoceanaming API password" BOG_USERNAME="blueoceanaming API login"
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
统计信息
- 总下载量: 936
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-08-16