Firebase Notifications Yii2

This extension will make send firebase notifications easy to do for the Yii2 framework.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.


Yii2 application

composer require yiisoft/yii2


php composer.phar require --prefer-dist "opensooq/yii2-firebase-notifications": "dev-master"

or add

"opensooq/yii2-firebase-notifications": "dev-maste"

to the require section of your composer.json file.


$service = new FirebaseNotifications('YOUR_KEY');