PHPackages                             tiriel/firestore-security-bridge - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. tiriel/firestore-security-bridge

ActiveSymfony-bundle[Authentication &amp; Authorization](/categories/authentication)

tiriel/firestore-security-bridge
================================

Symfony Bridge to provide UserProvider for Firestore-persisted users in Symfony

v0.2.2(1y ago)020MITPHPPHP ^8.1

Since May 30Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Tiriel/firestore-security-bridge)[ Packagist](https://packagist.org/packages/tiriel/firestore-security-bridge)[ RSS](/packages/tiriel-firestore-security-bridge/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (9)Used By (0)

Firestore Security Bridge
=========================

[](#firestore-security-bridge)

A small bridge to be used in conjunction with [Firestore ODM Bundle](https://github.com/Tiriel/firestore-odm-bundle). This bridge allows you to use your Firestore DTO as users in Symfony's Security Bundle.

Requirements
------------

[](#requirements)

This bundle requires PHP 8.2+, Symfony 7+, and [Firestore ODM Bundle](https://github.com/Tiriel/firestore-odm-bundle).

This bundle also relies heavily on [Google Glouc Firestore PHP Client](https://cloud.google.com/php/docs/reference/cloud-firestore/latest), and its technical requirements are the same (most notably PHP gRPC and Protobuf extensions). See Google's documentation for more details.

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

[](#installation)

If you have Symfony Flex, a [contrib recipe](https://github.com/symfony/recipes-contrib) is available:

```
composer require tiriel/firestore-security-bridge
```

That's it, you're good to go.

If you haven't got Flex installed, first require the bundle as shown above. Then, enable the bundle in the `config/bundles.php` file:

```
