apple/app-store
最新稳定版本:v2.0.1
Composer 安装命令:
composer require apple/app-store
包简介
Control Apple AppStores and price transformers in apple system
README 文档
README
Manipulate base info about Apple AppStore system.
Installation
Add AppleAppStore in your composer.json:
{
"require": {
"apple/app-store": "~2.0"
}
}
Now tell composer to download the library by running the command:
$ php composer.phar update apple/app-store
Base usage
use Apple\AppStore\Store; $ruStore = new Store('ru'); // Create RUS store. First argument - country code in ISO $rubPriceTransformer = $ruStore->getPriceTransformer(); // Get price transformer for RUS (RUB currency) $price = $rubPriceTransformer->transform(33); // Equals: 0.99$ $usdPrice = $rubPriceTransformer->reverse(0.99); // Equals: 33 rub.
License
This library is under the MIT license. See the complete license in library
LICENSE
Reporting an issue or a feature request
Issues and feature requests are tracked in the Github issue tracker.
统计信息
- 总下载量: 855
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-01-03