bog-laravel maintained by ruhul
Description
BlueOceanGaming Seamless integration API library package for laravel
Author
Last update
2022/10/03 09:25
(dev-main)
License
Downloads
936
BOGaming Laravel
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.