PHPackages                             utopia-php/mongo - 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. utopia-php/mongo

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

utopia-php/mongo
================

A simple library to manage Mongo database

1.0.2(2mo ago)6266.0k↓31.6%22MITPHPPHP &gt;=8.0

Since Sep 14Pushed 2mo ago6 watchersCompare

[ Source](https://github.com/utopia-php/mongo)[ Packagist](https://packagist.org/packages/utopia-php/mongo)[ RSS](/packages/utopia-php-mongo/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (14)Versions (41)Used By (2)

Non-Blocking PHP Line Protocol Client for MongoDB
=================================================

[](#non-blocking-php-line-protocol-client-for-mongodb)

[![Build Status](https://camo.githubusercontent.com/f42b449e9ed9cd32dae98f2e38b3bf419293c3bf1cbdd7647b3f20faf5ca04d2/68747470733a2f2f7472617669732d63692e636f6d2f75746f7069612d7068702f73797374656d2e7376673f6272616e63683d6d61696e)](https://travis-ci.com/utopia-php/mongo)[![Total Downloads](https://camo.githubusercontent.com/3ea49e715df561224a2a393d71c718372e2a9821b6c0e2019c9390918037910a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f75746f7069612d7068702f6d6f6e676f2e737667)](https://camo.githubusercontent.com/3ea49e715df561224a2a393d71c718372e2a9821b6c0e2019c9390918037910a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f75746f7069612d7068702f6d6f6e676f2e737667)[![Discord](https://camo.githubusercontent.com/6e418910df1b6eb524c6cbd88dbaf5a5aa294316eeadcd963e11262a319f6321/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3536343136303733303834353135313234343f6c6162656c3d646973636f7264)](https://appwrite.io/discord)

A non-blocking PHP client based on the line protocol for MongoDB. Designed to work well in async PHP environments like [Swoole](https://github.com/swoole/swoole-src)This library is aiming to be as simple and easy to learn and use. This library is maintained by the [Appwrite team](https://appwrite.io).

Getting Started
---------------

[](#getting-started)

Install using composer:

```
composer require utopia-php/mongo
```

Init in your application:

```
