mapkyca / known-mongo-php-library
Known version of the mongo php libray, in its own repo since no versioned build in packageist seems to work
Installs: 12 030
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Open Issues: 0
Requires
- php: >=5.5
This package is auto-updated.
Last update: 2024-10-24 04:57:33 UTC
README
** This is the version of the driver that was used by the Known project c.2019/03/01, ported here since no version on packageist seems to be compatible **
This library provides a high-level abstraction around the lower-level drivers for
PHP and
HHVM (i.e. the mongodb
extension).
While the extension provides a limited API for executing commands, queries, and write operations, this library implements an API similar to that of the legacy PHP driver. It contains abstractions for client, database, and collection objects, and provides methods for CRUD operations and common commands (e.g. index and collection management).
If you are developing an application with MongoDB, you should consider using this library, or another high-level abstraction, instead of the extension alone.
For further information about the architecture of this library and the mongodb
extension, see:
Documentation
Installation
As a high-level abstraction for the driver, this library naturally requires that
the mongodb
extension be installed:
$ pecl install mongodb
$ echo "extension=mongodb.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
The preferred method of installing this library is with Composer by running the following from your project root:
$ composer require "mongodb/mongodb=^1.0.0"
Reporting Issues
Please use the following form to report any issues: