@@ -12,15 +12,21 @@ PHP Libraries, Frameworks, and Tools
12
12
:depth: 2
13
13
:class: singlecol
14
14
15
+ Libraries for the ``mongodb`` Extension
16
+ ---------------------------------------
17
+
15
18
Stand-alone Libraries
16
- ---------------------
19
+ ~~~~~~~~~~~~~~~~~~~~~
17
20
18
21
- `Doctrine MongoDB ODM <https://github.com/doctrine/mongodb-odm>`_ is a library
19
22
that provides object mapping functionality for MongoDB. Integrations with
20
23
`Symfony <https://github.com/doctrine/DoctrineMongoDBBundle>`_ and
21
24
`Laminas <https://github.com/doctrine/DoctrineMongoODMModule>`_ (formerly Zend
22
25
Framework) are also available.
23
26
27
+ - `Mongo Queue PHP <https://github.com/traderinteractive/mongo-queue-php>`_ is
28
+ a PHP message queue, which uses MongoDB as a backend.
29
+
24
30
- `Mongo PHP Adapter <https://github.com/alcaeus/mongo-php-adapter>`_ is a
25
31
userland library designed to act as an adapter between applications relying on
26
32
the legacy ``mongo`` extension and the new ``mongodb`` extension. It provides
@@ -32,13 +38,17 @@ Stand-alone Libraries
32
38
supports embedded and referenced documents. An integration with
33
39
`Laravel <https://github.com/leroy-merlin-br/mongolid-laravel>`__ is also available.
34
40
41
+ - `Yadm <https://github.com/makasim/yadm>`_ is a MongoDB ODM written for the
42
+ **mongodb** extension. It is schema-less and supports fast object hydration
43
+ and persistence, which makes it well-suited for modeling aggregation results.
44
+
35
45
- `Xenus <https://github.com/abellion/xenus>`_ is an elegant MongoDB ODM
36
46
that supports events, relationships, embedded documents, and more. An
37
47
integration with `Laravel <https://github.com/abellion/xenus-laravel>`__ is
38
48
also available, which adds support for failed jobs, migrations, and events.
39
49
40
50
Framework Integrations
41
- ----------------------
51
+ ~~~~~~~~~~~~~~~~~~~~~~
42
52
43
53
- Drupal
44
54
@@ -56,38 +66,79 @@ Framework Integrations
56
66
57
67
- Symfony
58
68
59
- - The components `Lock <https://symfony.com/doc/current/components/lock.html#mongodbstore>`_ and
60
- `Session <https://symfony.com/doc/current/session.html#store-sessions-in-a-nosql-database-mongodb>`_
61
- can be configured to use MongoDB.
62
-
63
69
- `MongoDB Bundle <https://github.com/facile-it/mongodb-bundle>`_: A
64
70
simple bundle service integration for the official `PHP library
65
71
<https://github.com/mongodb/mongo-php-library>`_. Allows you to configure
66
72
connections to different databases or clusters and includes a convenient
67
73
query profiler.
68
74
69
- - `DoctrineMongoDBBundle Symfony <https://github.com/doctrine/DoctrineMongoDBBundle>`_
70
- This bundle integrates the Doctrine Object Document Mapper (ODM) into Symfony so
71
- that you can persist and retrieve objects to and from MongoDB.
72
-
73
75
- Yii2
74
76
75
77
- `MongoDB Extension for Yii 2
76
- <https ://www.yiiframework.com/extension/yiisoft/yii2 -mongodb>`_ provides
78
+ <http ://www.yiiframework.com/doc-2.0/ext -mongodb-index.html >`_ provides
77
79
MongoDB integration for Yii framework 2.0.
78
80
81
+ Libraries for the ``mongo`` Extension
82
+ -------------------------------------
83
+
84
+ Stand-alone Libraries
85
+ ~~~~~~~~~~~~~~~~~~~~~
86
+
87
+ - `MongoQueue <https://github.com/lunaru/mongoqueue>`_ is a PHP queue that
88
+ allows for moving tasks and jobs into an asynchronous process for completion
89
+ in the background. The queue is managed by MongoDB.
90
+
91
+ - `MongoRecord <https://github.com/lunaru/mongorecord>`_ is a PHP MongoDB ORM
92
+ layer built on top of the ``mongo`` PECL extension.
93
+
94
+ - `PHPMongo ODM <https://github.com/sokil/php-mongo>`_ is an ODM with support
95
+ for validation, relations, events, document versioning, and database
96
+ migrations. Although it is written for the legacy ``mongo`` extension, it is
97
+ tested to work with the ``mongodb`` extension using `Mongo PHP Adapter
98
+ <https://github.com/alcaeus/mongo-php-adapter>`_.
99
+
100
+ - `Yamop <https://github.com/mawelous/yamop>`_ is yet another MongoDB ODM for
101
+ PHP. It works like the standard MongoDB PHP extension interface but returns
102
+ objects instead of arrays (as ODM). An integration with
103
+ `Laravel <https://github.com/mawelous/yamop-laravel>`_ is also available.
104
+
105
+ Framework Integrations
106
+ ~~~~~~~~~~~~~~~~~~~~~~
107
+
108
+ - Drupal
109
+
110
+ - `MongoDB integration for Drupal <https://www.drupal.org/project/mongodb>`_.
111
+ This is a collection of several modules which allow sites to store different
112
+ types of Drupal data in MongoDB. Support for the ``mongo`` extension exists
113
+ for Drupal 6, 7, and 8.
114
+
115
+ - Kohana
116
+
117
+ - `MangoDB <https://github.com/Wouterrr/mangodb>`_: Mango is an ORM and
118
+ ActiveRecord-like library that takes full advantage of MongoDB's features.
119
+
120
+ - `MongoDB PHP ODM <https://github.com/colinmollenhour/mongodb-php-odm>`_ is a
121
+ simple but powerful set of wrappers for using MongoDB in PHP. It is designed
122
+ for use with Kohana 3 but should integrate easily with any PHP
123
+ application.
124
+
125
+ - Yii 1.x
126
+
127
+ - `MongoYii <http://github.com/Sammaye/MongoYii/>`_ is ActiveRecord ORM for
128
+ Yii framework 1.x that supports MongoDB.
129
+
130
+ - `Yii MongoDB Driver <https://github.com/fromYukki/Yii-MongoDB-Driver>`_ is a
131
+ MongoDB extension for Yii framework 1.x.
132
+
79
133
Miscellaneous Projects
80
- ----------------------
134
+ ~~~~~~~~~~~~~~~~~~~~~~
81
135
82
- - `PHP Cache <https://github.com/php-cache/mongodb-adapter/>` is a PSR-6 cache
83
- implementation using MongoDB. It is a part of the PHP Cache organisation.
136
+ - `PeclMongoPhpDoc <https://github.com/localgod/PeclMongoPhpDoc>`_ provides
137
+ skeleton classes for the ``mongo`` extension, which may be used to support
138
+ autocomplete and inline documentation for IDEs.
84
139
85
140
- `PHPfastcache <https://github.com/PHPSocialNetwork/phpfastcache>`_ provides a simple,
86
141
high-performance backend cache system for MongoDB.
87
142
88
- - `Enqueue <https://github.com/php-enqueue/mongodb>` is production ready,
89
- battle-tested messaging solution for PHP. It provides a common way for programs
90
- to create, send, read messages.
91
-
92
143
- `XHGui <https://github.com/perftools/xhgui>`_, a web interface for the XHProf profiler
93
144
that stores profiling data in MongoDB.
0 commit comments