PHPackages                             reasno/fastmongo - 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. reasno/fastmongo

ActiveLibrary

reasno/fastmongo
================

mongodb driver via hyperf/gotask

v0.2.6(4y ago)8974.0k↓57%18[11 issues](https://github.com/Reasno/fastmongo/issues)[3 PRs](https://github.com/Reasno/fastmongo/pulls)1MITPHPPHP &gt;=7.2

Since Jun 1Pushed 1y ago1 watchersCompare

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

READMEChangelog (9)Dependencies (5)Versions (11)Used By (1)

`reasno/fastmongo` is the a coroutine-based mongodb client for Hyperf, powered by `hyperf/gotask`.

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

[](#installation)

```
composer require reasno/fastmongo
```

- MongoDB extension is required.
- MongoDB &gt; 4.0
- MongoDB PHP library is ***NOT*** required.
- Go is ***NOT*** required.

Configuration
-------------

[](#configuration)

Just set the environmental variable MONGODB\_URI. (Defaults to `mongodb://127.0.0.1:27017`)

You may also use `php bin/hyperf.php vendor:publish reasno/fastmongo` to export a configuration.

API List
--------

[](#api-list)

```
