Control Apple AppStores and price transformers in apple system

Installs: 732

Dependents: 3

Stars: 3

Watchers: 1

Forks: 3

Open Issues: 2

Language: PHP

v2.0.1 2014-06-22 16:14 UTC


Manipulate base info about Apple AppStore system.


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.


This library is under the MIT license. See the complete license in library


Reporting an issue or a feature request

Issues and feature requests are tracked in the Github issue tracker.