What is Firebase Realtime database? The Firebase Realtime Database is a cloud-hosted NoSQL database, which allows developers to store and sync data between clients in realtime, and the data stored will remain available even when an app goes offline.
After setting up Firebase Realtime Database, go to your Laravel application and install Kreait/laravel-firebaseusing Composer.
Then you can easily access the credentials file inside your config/firebase.php file (no need to create an environment variable in your .env file): Initializing the Realtime Database Component
I guess you now have a clear idea about using Firebase Realtime Database in Laravel projects 😃.