Skip to content

Commit

Permalink
Add README
Browse files Browse the repository at this point in the history
  • Loading branch information
Minishlink committed Apr 21, 2017
1 parent 55f56d3 commit 4455fae
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Web Push example in PHP

Navigating through the commits and files will help you build:
- on the client
- a user friendly opt-in push notification button
- on the server
- an endpoint for managing your push notification subscriptions
- an endpoint that triggers push notification

## Requirements
- Chrome or Firefox
- PHP 5.6+
- gmp
- mbstring
- curl
- openssl

## Installation
```bash
$ composer install minishlink/web-push-php-example
```

## Usage

```bash
$ php -S localhost:8000 router.php
```

And open [http://localhost:8000](localhost:8000).

0 comments on commit 4455fae

Please sign in to comment.