blackho1e / fallback-custom-scheme
fallback-custom-scheme for Yii2
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=5.4.0
- npm-asset/fallback-custom-scheme: ~0.1.4
- yiisoft/yii2: 2.0.*
This package is not auto-updated.
Last update: 2024-09-09 14:25:40 UTC
README
Launcher application (iOS, Android, Windows, Mac) from web page. Use custom url scheme to launch app. If not installed the application, fallback (ex. app store, google play store etc).
https://github.com/SatoshiKawabata/fallback-custom-scheme
Installation
The preferred way to install this extension is through composer.
To install, either run
$ php composer.phar require blackho1e/fallback-custom-scheme "*"
or add
"blackho1e/fallback-custom-scheme": "*"
to the require
section of your composer.json
file.
Usage
In view
// @app/views/layouts/main.php \blackho1e\FallbackCustomScheme\FallbackCustomSchemeAsset::register($this); // further code
or as a dependency in your app wide AppAsset.php
// @app/assets/AppAsset.php public $depends = [ 'blackho1e\FallbackCustomScheme\FallbackCustomSchemeAsset', // more dependencies ];