sysout/php-app-mobile-version

read the version of the apps that is in the app store and google play

Installs: 9 963

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/sysout/php-app-mobile-version

1.1.0 2022-05-30 17:33 UTC

This package is auto-updated.

Last update: 2025-12-29 03:34:27 UTC


README

Installation

The recommended way to install AppMobileVersion is through Composer.

composer require sysout/php-app-mobile-version

Documentation

to use the whole appversion library, you should follow the following structure in laravel:

$options = [
    'bundleId' => 'package id',
    'useCache' => true,
    'cacheFilePath' => '/var/www/mobile-version.json',
    'cachePeriod' => 3600
];

$api= new AppMobileVersion($options);

$data =[
    $androidVersion = 'android: '.$api->getAndroid(),
    $iosVersion = 'ios: '.$api->getIos()
];

echo $data;