Posts

Showing posts with the label Firebase Setup

How to make Firebase query search not case sensitive #18

Image
How to make Firebase query search not case sensitive because you know Firebase provide exact match "==" with case sensitive. So we will solve this issue in the chapter in detail. We will use the Laravel PHP SDK for the firebase for all the queries stuff. Also we will see case insensitive sorting with Firebase orderBy using Firebase search ignoring case. Now lets consider a simple example, you have 'Student' list and you want to search by name. So the main use of any search is that, you insert one or two characters and the system should search the most matching one, but that not the case in Firebase. Firebase is a case sensitive. Means string "Name" and "name" are two different values for Firebase. All Firebase developers are facing this issue, which is most basic necessity. So lets first understand, currently what is provided by Firebase. See the below example of Student List. Now here you see, we have a Student ...

Chapter 3 - Creating a project in Firebase for Laravel PHP

Image
In this chapter, we gonna learn how to create a new Cloud Firestore database and get necessary credentials to connect with a Laravel Project. First of you have to visit the  https://firebase.google.com/  and then click on the "Go to console" on top right of page. Then sign in with your gmail ID.  Once you are in, you would see the list of your projects. One Project consists of one Cloud Firestore and one realtime Database. (We are gonna use Cloud Firestore). So lets begin by clicking on "Add Project" button.  Enter a proper name for your project. Then you can enable the google analytics for all kind of reportings. Then wait for few minutes, it will create a whole new project for you. Now click on "Continue". On the home page, you will find many options to get started. On the top left near to side bar, you will find the current project selected in the drop down of all your project. You can switch to any of your project easily. No...