PHP code example of feliz / qpushme
1. Go to this page and download the library: Download feliz/qpushme library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
feliz / qpushme example snippets
$config = ['name'=>'your name','code'=>'your code','timeout'=>5];
$QPushMe = new \Feliz\QPushMe\QPushMe($config);
//send text to iPhone
$QPushMe->text('new message');
//send url to iPhone
$QPushMe->url('https://www.google.com','google');