pvodicka/mongo-php-library
Composer 安装命令:
composer require pvodicka/mongo-php-library
包简介
MongoDB PHP library ( modified to use static property for selected server )
README 文档
README
Modified to use static server property for selected server to override subsequent server selection during same script execution. Not recomended for production enviroment!
MongoDB library for PHP
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
Reporting Issues
Please use the following form to report any issues:
统计信息
- 总下载量: 1.38k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2017-12-13