PHPackages                             firevel/firestore - 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. firevel/firestore

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

firevel/firestore
=================

Firestore wrapper for Laravel app running inside Google App Engine.

1.2.0(8mo ago)719.4k↓50%42MITPHPPHP ^8.0

Since May 5Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/firevel/firestore)[ Packagist](https://packagist.org/packages/firevel/firestore)[ RSS](/packages/firevel-firestore/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (3)Versions (10)Used By (2)

Firevel – Firestore
===================

[](#firevel--firestore)

A lightweight wrapper around the official [Cloud Firestore PHP client](https://github.com/googleapis/google-cloud-php-firestore) for [Laravel](https://laravel.com) and [Firevel](https://www.firevel.com), compatible with Google App Engine Standard.

Installation
------------

[](#installation)

1. **Create a Firestore project**
    If you don’t have one yet, follow the [Cloud Firestore quick start](https://firebase.google.com/docs/firestore/quickstart).
2. **Install the package**

    ```
    composer require firevel/firestore
    ```
3. **Enable gRPC extensions**
    If you’re deploying to Google App Engine Standard, create a `php.ini` next to your `app.yaml` with:

    ```
    extension=grpc.so
    extension=protobuf.so
    ```

    Using the library outside of App Engine? See the [gRPC installation guide](https://cloud.google.com/php/grpc) and [Installing the protobuf runtime library](https://cloud.google.com/php/grpc#installing_the_protobuf_runtime_library).

### Tinker / PsySH note

[](#tinker--psysh-note)

If the `pcntl` extension is enabled, set `usePcntl` to **false** in your `.psysh.php` to avoid gRPC calls hanging in Tinker:

```
