FCM Notifications with Laravel
Project Setup
- Download or clone project
git clone https://github.com/usamamuneerchaudhary/fcm-notifications.git
- Install dependencies by running
composer install
- Rename
.env.example
to.env
- Add
FCM_LEGACY_KEY
to your.env
file - Run
php artisan key:generate
Tutorial
https://thewebtier.com/laravel/implement-fcm-notification-with-laravel/