承接 ruhul/bog-laravel 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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.

Packagist Downloads Packagist Stars

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

MIT

统计信息

  • 总下载量: 936
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-16