PHPackages                             rocketfirm/yii2-onesignal - 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. [API Development](/categories/api)
4. /
5. rocketfirm/yii2-onesignal

ActiveLibrary[API Development](/categories/api)

rocketfirm/yii2-onesignal
=========================

Yii2 component for OneSignal.com integration

0.0.4(6y ago)533.1k↓44.1%4[1 PRs](https://github.com/rocket-firm/yii2-onesignal/pulls)1MITPHP

Since Aug 8Pushed 5y ago2 watchersCompare

[ Source](https://github.com/rocket-firm/yii2-onesignal)[ Packagist](https://packagist.org/packages/rocketfirm/yii2-onesignal)[ RSS](/packages/rocketfirm-yii2-onesignal/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)Dependencies (2)Versions (6)Used By (1)

yii2-onesignal
==============

[](#yii2-onesignal)

Yii2 component for OneSignal.com integration. Any contribution is highly encouraged!

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

[](#installation)

Preferred way to install is through [Composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx).

```
composer require rocketfirm/yii2-onesignal

```

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

[](#configuration)

Add following code to your configuration file (main.php):

```
