PHP code example of filagora / filagora-push
1. Go to this page and download the library: Download filagora/filagora-push 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/ */
filagora / filagora-push example snippets
bash
composer vendor:publish --provider="NotificationChannels\WebPush\WebPushServiceProvider" --tag=config
php artisan webpush:vapid # writes VAPID_PUBLIC_KEY and VAPID_PRIVATE_KEY to .env
php artisan migrate