Firebase in PHP Part-2: How to install firebase php & connect database connection in Firebase PHP
Here, we are learning about firebase with php, where we will install firebase or download the firebase package and work on CRUD application in php. so, Firebase in PHP.
Link to download GitHub : https://github.com/kreait/firebase-php/ .
Or else: use composer to install : composer require kreait/firebase-php ^5.0
Now to connect your database and understand how its working you have to watch above video and paste the below code:
Step 1: as we are continuing with the above video, so lets create folder includes and inside that dbcon.php and paste the below: