apple / app-store
Control Apple AppStores and price transformers in apple system
Installs: 855
Dependents: 2
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 3
Open Issues: 2
pkg:composer/apple/app-store
Requires
- php: >=5.3.3
This package is auto-updated.
Last update: 2019-08-27 06:03:32 UTC
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.