Chapter 5 - Integrate Laravel with Google Firebase connecting Cloud Firestore

In this chapter, we will create a Laravel project and connect it with the Cloud Firestore with installing all necessary packages and build some basic queries. Step 1: Install a fresh Laravel Project with name my-project composer create-project --prefer-dist laravel/laravel my-project Step 2: Setup a Firebase account and Cloud Firestore Database A detail chapter on this topic is available here https://laravelwithfirebase.blogspot.com/2020/02/chapter-3-creating-project-in-firebase-for-laravel-php.html Step 3: Use the Laravel package built over Firebase PHP Admin SDK by Kreait The package url on Github: https://github.com/kreait/laravel-firebase. We have already explain the Firebase PHP Admin SDK in previous chapters by the same Author. So this code has been used by lot of people and is highly maintainable. Run the following command to install the package. composer require kreait/laravel-firebase ...