PHP code example of minishlink / web-push-php-example
1. Go to this page and download the library: Download minishlink/web-push-php-example 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/ */
minishlink / web-push-php-example example snippets
bash
$ composer create-project minishlink/web-push-php-example
$ cd web-push-php-example
bash
$ php -S localhost:8000 router.php