PHPackages                             drsdre/yii2-add-to-homescreen - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. drsdre/yii2-add-to-homescreen

ActiveYii2-extension

drsdre/yii2-add-to-homescreen
=============================

Yii2 asset extension for https://github.com/cubiq/add-to-homescreen

1.1.1(10y ago)13551Apache-2.0PHPPHP &gt;=5.4.0

Since Aug 13Pushed 10y ago1 watchersCompare

[ Source](https://github.com/drsdre/yii2-add-to-homescreen)[ Packagist](https://packagist.org/packages/drsdre/yii2-add-to-homescreen)[ Docs](https://github.com/drsdre/yii2-add-to-homescreen)[ RSS](/packages/drsdre-yii2-add-to-homescreen/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

Yii2-add-to-homescreen
======================

[](#yii2-add-to-homescreen)

Yii2 extension for the [Add To Homescreen](https://github.com/cubiq/add-to-homescreen) Javascript widget

Requirements:
=============

[](#requirements)

Yii2 and francoispluchino/composer-asset-plugin.

Installation
------------

[](#installation)

This extension should be installed through [composer](http://getcomposer.org/download/).

Either run

```
composer require --prefer-dist drsdre/yii2-add-to-homescreen "*"

```

or add

```
"drsdre/yii2-add-to-homescreen": "*"
```

to the `require` section of your `composer.json` file.

Usage
-----

[](#usage)

In your views/layout/main.php add the following line in the head section:

```

```

Configuration
-------------

[](#configuration)

The widget can be tweaked through the settings variable:

```
