sysout / php-app-mobile-version
read the version of the apps that is in the app store and google play
Installs: 4 409
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 0
Forks: 0
Open Issues: 0
Requires
- php: >=7.4
- guzzlehttp/guzzle: >=6.3
This package is auto-updated.
Last update: 2025-05-29 01:38:03 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;