Introduction to Firebase/Cloud FireStore with PHP Laravel 9

Introduction to Firebase/Cloud FireStore with PHP Laravel 9

In this tutorial, we will discuss basic knowledge of the Firebase / cloud Firestore database, and integration with PHP Laravel 8 Framework.

What is Firebase?

Firebase is a NoSQL document b database backend platform for developing   Web (Android, and IOS) applications. Firebase easily store, sync, and query data for your mobile and web apps – at global scale.

History:

Firebase is a backend platform developed by Google for building mobile (Android, and IOS) web applications. It was originally an independent company founded in 2011. In 2014, Google acquired the platform.

Firebase database Structure:

In MySQL database you have data tables and in tables Rows / Columns, While in Firebase have Collections and Documents.

MySQL  Databases  > Tables Columns/Rows

Cloud Firebase  > Collections  Documents

Firebase Features:

  • Real-time Database: 

Firebase supports JSON (JavaScript Object Notatio, is a lightweight data-interchange format) data and all users connected to it receive live updates after every change in real-time.

  • Authentication

Firebase offer anonymous, password or different social authentication like Google, Facebook, Twitter, GitHUB and Email.

  • Hosting 

The applications can be deployed over secured connection to Firebase servers.

Firebase Database Types:

Firebase has two types of database:

  • Realtime Database
  • Cloud Firestore

Realtime and firestore both are same but the Realtime is old version and Cloud Firestore is the new updated version. Google also recommends Cloud Firestore for new projects. The Realtime database stores the data as one large tree in JSON while Firestore is collections of documents.

Firebase Advantages:

  • It is simple and user friendly.
  • No need for complicated configuration.
  • The data is real-time, which means that every change will automatically update connected clients (Automatically Synchronize).
  • Firebase offers simple control dashboard.
  • There are a number of useful services to choose.

Next tutorial will discussed, Laravel 8 introduction and Installation.

Contact:

Any Kind Of Help Or Needs So Contact Me:
Facebook Group: [ https://www.facebook.com/Tutorials-Ocean-185506455425271/ ]

Tag:

Cloud Firestore, Real Time database, NoSql Database, Laravel 8, Tutorials Ocean

About Post Author

, , , , , ,

1 thought on “Introduction to Firebase/Cloud FireStore with PHP Laravel 9

Leave a Reply

Your email address will not be published. Required fields are marked *