A comprehensive guide to make a real-time chat using Laravel 6 with firebase cloud messaging and laravel-fcm library.Getting Started — Configuring EnvironmentStep : 1 Require laravel-ui for authentication composer require laravel/ui=”1.*” — dev

Create a dat abase and and add it to the .env file.

Go to cloud messaging section in the firebase console of google and add those keys to the .env file with your keys

Create a file named firbase-messaging-sw.js in public>js folder and add these codes and update it with your credentials.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners