Skip to content

Commit 4455fae

Browse files
committed
Add README
1 parent 55f56d3 commit 4455fae

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Web Push example in PHP
2+
3+
Navigating through the commits and files will help you build:
4+
- on the client
5+
- a user friendly opt-in push notification button
6+
- on the server
7+
- an endpoint for managing your push notification subscriptions
8+
- an endpoint that triggers push notification
9+
10+
## Requirements
11+
- Chrome or Firefox
12+
- PHP 5.6+
13+
- gmp
14+
- mbstring
15+
- curl
16+
- openssl
17+
18+
## Installation
19+
```bash
20+
$ composer install minishlink/web-push-php-example
21+
```
22+
23+
## Usage
24+
25+
```bash
26+
$ php -S localhost:8000 router.php
27+
```
28+
29+
And open [http://localhost:8000](localhost:8000).

0 commit comments

Comments
 (0)