Push notification Android Php

Hey, Today we learn how to send push notification for android in php.

First create a class with following code

 

now call your notify function by creating a object of pusher class.

 

If you are using cakephp or any other php framework then add pusher class in you plugin folder(appPluginPusherPusher.php) and load it where you want to use.

%d bloggers like this: