承接 firevel/firestore 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

firevel/firestore

最新稳定版本:1.2.0

Composer 安装命令:

composer require firevel/firestore

包简介

Firestore wrapper for Laravel app running inside Google App Engine.

README 文档

README

A lightweight wrapper around the official Cloud Firestore PHP client for Laravel and Firevel, compatible with Google App Engine Standard.

Installation

  1. Create a Firestore project
    If you don’t have one yet, follow the Cloud Firestore quick start.

  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 and Installing the protobuf runtime library.

Tinker / PsySH note

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

<?php return [ 'usePcntl' => false, ];

Usage

Use the Firestore facade to access the client:

use Firevel\Firestore\Facades\Firestore; $data = [ 'name' => 'Los Angeles', 'state' => 'CA', 'country' => 'USA', ]; Firestore::collection('cities')->document('LA')->set($data);

Authentication

On Google App Engine Standard, Firestore works without additional credentials.
For local development or other environments, follow the official Authentication guide (e.g., set GOOGLE_APPLICATION_CREDENTIALS).

Resources

统计信息

  • 总下载量: 18.36k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 1
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 1
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固