aungmyokyaw/smile-one
最新稳定版本:v1.7.0
Composer 安装命令:
composer require aungmyokyaw/smile-one
包简介
关键字:
README 文档
README
About
This package is specifically designed for the Smile.one , offering a simple and efficient method to purchase Smile One products using Laravel. Note - Currently, this package is intended for Mobile Legends Product from SmileOne
Installation
composer require aungmyokyaw/smile-one
Configuration
You will need to publish the configuration file to your application. You can do this using the following command:
php artisan vendor:publish --tag="smileone-config"
After publishing the package's configuration file, you will find the file at config/smileone.php. You will need to fill out the necessary data in this file to use the package.
The dafault region is Brazil.
Usage samples
SmileOne::setProduct(#ProductName)->getProductList(#Region); // Get Product Points List // Replace '#ProductName' with your actual product name. // If left empty region, it will default to the Brazil region. // Example : SmileOne::setProduct('mobilelegends')->getProductList(); // Example for different region : SmileOne::setProduct('mobilelegends')->getProductList('ph'); SmileOne::setProduct(#ProductName)->getPoints(#Region); // Get Total Available SmilePoints With Product SmileOne::setProduct('mobilelegends')->getProduct(#Region); // Get Main Product SmileOne::setProduct(#ProductName,#ProductId)->setUser(#UserID,#UserZoneID)->checkProductPoints(#Region); // Check Points with User ID SmileOne::setProduct(#ProductName,#ProductId)->setUser(#UserID,#UserZoneID)->purchase(#Region); // Product Purchase
统计信息
- 总下载量: 239
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-11-30