This package is abandoned and no longer maintained. No replacement package was suggested.

Control Apple AppStores and price transformers in apple system

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

This package is auto-updated.

Last update: 2019-08-27 06:03:32 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.