Posts Tagged ‘frameworks’

Hey, Today we learn how to send push notification for android in php. First create a class with following code   <?php class Pusher{ const GOOGLE_GCM_URL = ‘https://android.googleapis.com/gcm/send’; private $apiKey; private $proxy; private $output; public function __construct($apiKey, $proxy = null) { $this->apiKey = ‘your_key’; $this->proxy = $proxy; } /** * @param string|array $regIds * @param […]