定制 hungthai1401/laravel-application-version 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

hungthai1401/laravel-application-version

Composer 安装命令:

composer require hungthai1401/laravel-application-version

包简介

Simple way to get app market version information from Google Play store or Apple App Store

README 文档

README

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:

统计信息

  • 总下载量: 2.11k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-01-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固