PHPackages                             mongodb/symfony-bundle - 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. mongodb/symfony-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

mongodb/symfony-bundle
======================

Bundle to integrate mongodb/mongodb into Symfony

0.3.1(1y ago)748.6k↓12.5%3[1 PRs](https://github.com/mongodb-labs/symfony-mongodb/pulls)Apache-2.0PHPPHP &gt;=8.1CI passing

Since Nov 10Pushed 10mo ago4 watchersCompare

[ Source](https://github.com/mongodb-labs/symfony-mongodb)[ Packagist](https://packagist.org/packages/mongodb/symfony-bundle)[ Docs](https://jira.mongodb.org/browse/PHPORM)[ RSS](/packages/mongodb-symfony-bundle/feed)WikiDiscussions 0.4 Synced 1mo ago

READMEChangelog (5)Dependencies (16)Versions (9)Used By (0)

Symfony Bundle for MongoDB (EXPERIMENTAL)
=========================================

[](#symfony-bundle-for-mongodb-experimental)

This bundle provides integration of the [MongoDB library](https://github.com/mongodb/mongo-php-library)into Symfony. It is designed as a lightweight alternative to the [Doctrine MongoDB ODM](https://github.com/doctrine/mongodb-odm), providing only an integration to interact with MongoDB without providing all features of an ODM.

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

[](#installation)

Install the bundle with composer:

```
composer require mongodb/symfony-bundle
```

If you have `symfony/flex` installed, the bundle is automatically enabled. Otherwise, you need to enable it manually by adding it to the `bundles.php` file:

```
// config/bundles.php
