Firestore Eloquent, an object-relational mapper (ORM) that makes it enjoyable to interact with your database. When using Eloquent, each firestore collection has a corresponding \"Model\"/\"Class\" that is used to interact with that collection. In addition to retrieving records from the firestore collection, Eloquent models/classes allow you to insert, update, and delete records from the collection as well.
roddy/firestore-eloquent is a Laravel package for firestore eloquent, an object-relational mapper (orm) that makes it enjoyable to interact with your database. when using eloquent, each firestore collection has a corresponding \"model\"/\"class\" that is used to interact with that collection. in addition to retrieving records from the firestore collection, eloquent models/classes allow you to insert, update, and delete records from the collection as well..
It currently has 15 GitHub stars and 3.097 downloads on Packagist (latest version v3.0.16).
Install it with composer require roddy/firestore-eloquent.
Discover more Laravel packages by roddy
or browse all Laravel packages to compare alternatives.
Last updated

This package is a customized version of Laravel Eloquent designed for seamless integration with Google Firestore within Laravel applications. Firestore boasts exceptional scalability and speed, but it provides a more limited feature set compared to conventional SQL databases.
Install this package using composer
composer require roddy/firestore-eloquent
Copy and paste this to your .env file and replace your-project-id with your project id.
FIREBASE_PROJECT_ID=your-project-id
Publish the package configuration using Artisan
php artisan vendor:publish --provider="Roddy\FirestoreEloquent\Providers\FModelProvider" --force
You can locate the configuration file in config/firebase.php.
Visit Laravel Firestore Eloquent for documentation.
OR
Use this link https://firestore-eloquent.netlify.app/
Limitations for documentation.
Todo for documentation.
The MIT License (MIT). Please see License File for more information.
This project exists thanks to all the people who contribute. [Contribute].
Become a financial contributor and help us sustain our community.