New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

hungthai1401/laravel-application-version

Simple way to get app market version information from Google Play store or Apple App Store
2,111 3
Install
composer require hungthai1401/laravel-application-version
Latest Version:v1.0
PHP:>=7.1
Laravel:5 · 6
License:MIT
Last Updated:Jan 20, 2020
Links: GitHub  ·  Packagist
Maintainer: hungthai1401

Laravel Application Version

Installation

Require this package with composer.

composer require hungthai1401/laravel-application-version
  • Laravel 5.5+:

Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider. If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php

Ht\ApplicationVersion\Providers\ServiceProvider
  • Lumen:

Register a provider in bootstrap/app.php:

$app->register(\HT\ApplicationVersion\Providers\ServiceProvider::class);

By defaults Facades are not enabled in Lumen, To use ApplicationVersion Facade functions un-comment $app->withFacades(); line from your bootstrap/app.php file and modify it

$app->withFacades(true, [
    'HT\ApplicationVersion\Facades\Facade' => 'ApplicationVersion',
]);

Usage

ApplicationVersion::viaGoolePlay(PACKAGE_NAME);
ApplicationVersion::viaAppStore(BUNDLE_ID);

References

https://mrvirk.com/how-to-find-app-bundle-id-ios.html

Note

There are many Google Play applications that need to identify specific devices to retrieve version such as Google Chrome, Facebook, ... Please read in some archieves:

Related Packages

fox/laravel-application-version

Fox's smarter application version manager

1,495 2
akaunting/laravel-version

Version management package for Laravel

314,170 38
avto-dev/stacked-dumper-laravel

Stacked variables dumper for Laravel-based application

313,981 4
avto-dev/app-version-laravel

Laravel applications versioning

54,373 25
agenter-labs/laravel-version

Version management package for Laravel

2,851 0

Version History

Version Released PHP Laravel License
v1.0 >=7.1 ^5.5|^6 MIT