Skip to content

Commit 7084247

Browse files
committed
readme
1 parent 72dc4e3 commit 7084247

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
1+
PHP Push notification server for Android and iOS devices
2+
====
3+
14
Simple library to send push notifications to Android and iOS devices
25

36
Fork from: https://github.com/gonzalo123/androidpusher
47

8+
Usage
9+
----
10+
511
```php
612

7-
// you need store key for Apple certificate in root folder with name "ck.pem". You can change it in lib/
13+
// You need store key for Apple certificate in root folder with name "ck.pem". You can change it in "lib/iOSPusher/Pusher.php"
814

915

1016
$title = 'Title';

index.php

+5-4
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22

33
include __DIR__ . "/vendor/autoload.php";
44

5+
56
$title = 'Title';
67
$message = 'Hello!';
78

8-
$androidDeviceToken = "APA91bEArdlFJMqGrcXtxWYZFue30fSVKiVSVqnXiCyK2AI2ZBTHclI-biWJShtDWi0lmwNTkB6fCPWvvDIcOYBIUbdvU9dPdNwWAeRwLxyE_gRP2FUdSGkB901wpA0_1pG0ikuTpTeeJKiIe2f2-z67hjUlhlv97D2dRdZq-3gmr2soXlkzs7gqYGzSHW8k62_WRFpkkOpM";
9+
$androidDeviceToken = "APA91bEArdlAAMqGrcXtxWYZFue30fSVKiVSVqnXiCyK2AI2ZBTHclI-biWJShtDWi0lmwNTkB6fCPWvvDIcOYBIUbdvU9dPdNwWAeRwLxyE_gRP2FUdSGkB901wpA0_1pG0ikuTpTeeJKiIe2f2-z67hjUlhlv97D2dRdZq-3gmr2soXlkzs7gqYGzSHW8k62_WRFpkkOpM";
910

10-
$iOSDeviceToken = '3b24e2b4ed3e92e59428eeadab2cee972d6cd44184b133fad09d48e62a3d48a6';
11-
$iOSPassphrase = 'krava';
12-
$androidApiKey = "AIzaSyAkBcScJJ_MWswDRYm7y_qptno-KuWKo14";
11+
$iOSDeviceToken = '3b24e2b4ed3e92e59428eeadab2cee972d6aa14184b133fad09d48e62a3d48b6';
12+
$iOSPassphrase = 'pass';
13+
$androidApiKey = "AIzaSyAkBcScJJ_MWswDRYm7y_qptno-KuwKo65";
1314

1415

1516

0 commit comments

Comments
 (0)