blackho1e/fallback-custom-scheme

fallback-custom-scheme for Yii2

Maintainers

Package info

github.com/blackho1e/fallback-custom-scheme

Type:yii2-extension

pkg:composer/blackho1e/fallback-custom-scheme

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.0.1 2017-02-16 02:01 UTC

This package is not auto-updated.

Last update: 2026-03-09 22:07:31 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
];