roddy / firestore-eloquent
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 col
Fund package maintenance!
Buy Me A Coffee
Requires
- php: >= 8.0
- google/cloud-storage: 1.*
- illuminate/config: 9.* || 10.* || 11.*
- illuminate/filesystem: 9.* || 10.* || 11.*
- illuminate/http: 9.* || 10.* || 11.*
- illuminate/pagination: 9.* || 10.* || 11.*
- illuminate/session: 9.* || 10.* || 11.*
- illuminate/support: 9.* || 10.* || 11.*
- nesbot/carbon: 2.* || 3.*
This package is auto-updated.
Last update: 2025-04-17 17:59:15 UTC
README
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.
Table of Contents
Requirements
- PHP >= 8.1
- Laravel >= 9 (Recommeded Latest Laravel)
- Composer
Installation
-
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
.
Documentation
Visit Laravel Firestore Eloquent for documentation.
OR
Use this link https://firestore-eloquent.netlify.app/
Limitations
Limitations for documentation.
TODO
Todo for documentation.
License
The MIT License (MIT). Please see License File for more information.
Acknowledgments
Contributors
Code Contributors
This project exists thanks to all the people who contribute. [Contribute].
Financial Contributors
Become a financial contributor and help us sustain our community.