PHPackages                             roddy/firestore-eloquent - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. roddy/firestore-eloquent

ActiveLibrary[Database &amp; ORM](/categories/database)

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 collection, Eloquent models/classes allow you to insert, update, and delete records from the collection as well.

v3.0.15(6mo ago)161.1k↓50%9MITPHPPHP &gt;= 8.0

Since Nov 21Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/Freddywhest/firestore-eloquent)[ Packagist](https://packagist.org/packages/roddy/firestore-eloquent)[ Fund](https://www.buymeacoffee.com/alfrednti)[ RSS](/packages/roddy-firestore-eloquent/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (37)Used By (0)

[![Packagist Downloads](https://camo.githubusercontent.com/37c7bb27434f01d4ea2b761ec8eea326b2c7bb8b60c58f1615fe3c243b612e3c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726f6464792f6669726573746f72652d656c6f7175656e74)](https://camo.githubusercontent.com/37c7bb27434f01d4ea2b761ec8eea326b2c7bb8b60c58f1615fe3c243b612e3c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726f6464792f6669726573746f72652d656c6f7175656e74)

 Laravel Firestore Eloquent
===========================

[](#-laravel-firestore-eloquent)

[![Logo](img/logo.png)](img/logo.png)

[](#)

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

[](#table-of-contents)

- [Requirements](#requirements)
- [Installation](#installation)
- [Documentation](#documentation)
- [Limitations](#limitations)
- [Contributing](#contributing)
- [Changelog](#changelog)
- [License](#license)

### Requirements

[](#requirements)

- [PHP &gt;= 8.1](https://php.net)
- [Laravel &gt;= 9](https://laravel.com/docs/9.x) (Recommeded [Latest Laravel](https://laravel.com))
- [Composer](https://getcomposer.org/)

### Installation

[](#installation)

1. Install this package using composer

    ```
     composer require roddy/firestore-eloquent
    ```
2. Copy and paste this to your **.env** file and replace `your-project-id` with your project id.

    ```
    FIREBASE_PROJECT_ID=your-project-id
    ```
3. 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

[](#documentation)

Visit [Laravel Firestore Eloquent](https://firestore-eloquent.netlify.app/) for documentation.

OR

Use this link

### Limitations

[](#limitations)

[Limitations](https://firestore-eloquent.netlify.app/docs/limitations) for documentation.

### TODO

[](#todo)

[Todo](https://firestore-eloquent.netlify.app/docs/todo) for documentation.

### License

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Acknowledgments
---------------

[](#acknowledgments)

- [Laravel](https://laravel.com/)
- [Google Cloud Firestore](https://cloud.google.com/firestore/)
- [Google Cloud Firestore Storage](https://cloud.google.com/)
- [PHP](https://php.net)

Contributors
------------

[](#contributors)

### Code Contributors

[](#code-contributors)

This project exists thanks to all the people who contribute. \[[Contribute](https://github.com/FreddyWhest/firestore-eloquent/graphs/contributors)\].

[ ![](https://camo.githubusercontent.com/c56540809ff35a4ec37899e9cb0089ca3b0761eb67611f4c0504b5cca781bbc8/68747470733a2f2f636f6e747269622e726f636b732f696d6167653f7265706f3d46726564647957686573742f6669726573746f72652d656c6f7175656e74)](https://github.com/FreddyWhest/firestore-eloquent/graphs/contributors)### Financial Contributors

[](#financial-contributors)

Become a financial contributor and help us sustain our community.

 [ ![Buy Me A Coffee](https://camo.githubusercontent.com/af7c4175cb725540f9b150c8450be14b719748cbe0445c56e51c70bb51fad263/68747470733a2f2f63646e2e6275796d6561636f666665652e636f6d2f627574746f6e732f76322f64656661756c742d7265642e706e67) ](https://www.buymeacoffee.com/alfrednti)
===================================================================================================================================================================================================================================================================================

[](#------)

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance68

Regular maintenance activity

Popularity29

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 68.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~22 days

Recently: every ~67 days

Total

33

Last Release

187d ago

Major Versions

v0.11 → v1.0.12023-11-21

v1.1.3 → v2.0.02024-03-27

v2.1.1 → v3.0.02025-02-09

PHP version history (2 changes)v1.0.1PHP ^8.1

v3.0.4PHP &gt;= 8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/7106eb034822aaece5eb5521fdb0d92ce844323ea41c11b16c162bcbd9a48cf1?d=identicon)[roddy](/maintainers/roddy)

---

Top Contributors

[![Freddywhest](https://avatars.githubusercontent.com/u/87778148?v=4)](https://github.com/Freddywhest "Freddywhest (39 commits)")[![autonomynti](https://avatars.githubusercontent.com/u/156438925?v=4)](https://github.com/autonomynti "autonomynti (13 commits)")[![ajcastro](https://avatars.githubusercontent.com/u/4918318?v=4)](https://github.com/ajcastro "ajcastro (3 commits)")[![alsong](https://avatars.githubusercontent.com/u/19310511?v=4)](https://github.com/alsong "alsong (2 commits)")

---

Tags

eloquenteloquent-ormfirestorefirestore-eloquentlaravel-firebaselaravel-firestorelaravel-firestore-eloquentphp-firebasephp-firebase-vercelphp-firestore

### Embed Badge

![Health badge](/badges/roddy-firestore-eloquent/health.svg)

```
[![Health](https://phpackages.com/badges/roddy-firestore-eloquent/health.svg)](https://phpackages.com/packages/roddy-firestore-eloquent)
```

###  Alternatives

[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[jerome/filterable

Streamline dynamic Eloquent query filtering with seamless API request integration and advanced caching strategies.

19226.1k](/packages/jerome-filterable)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
