PHP code example of roddy / firestore-eloquent

1. Go to this page and download the library: Download roddy/firestore-eloquent library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

roddy / firestore-eloquent example snippets


    Roddy\FirestoreEloquent\Providers\FModelProvider::class,
    

   FIREBASE_PROJECT_ID=your-project-id
   
bash
   php artisan vendor:publish --provider="Roddy\FirestoreEloquent\Providers\FModelProvider" --force