Download the PHP package topthink/think-mongo without Composer
On this page you can find all versions of the php package topthink/think-mongo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download topthink/think-mongo
More information about topthink/think-mongo
Files in topthink/think-mongo
Download topthink/think-mongo
More information about topthink/think-mongo
Files in topthink/think-mongo
Vendor topthink
Package think-mongo
Short Description mongodb driver for thinkphp6.0
License Apache-2.0
Package think-mongo
Short Description mongodb driver for thinkphp6.0
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package think-mongo
ThinkPHP 6.0 MongoDb驱动
请使用最新版本的topthink/think-orm 本仓库不再维护更新
首先安装官方的mongodb扩展:
http://pecl.php.net/package/mongodb
然后,配置应用的数据库配置文件database.php
的type
参数改为:
'type' => 'Mongo',
即可正常使用MongoDb,例如:
Db::name('demo')
->find();
Db::name('demo')
->field('id,name')
->limit(10)
->order('id','desc')
->select();
All versions of think-mongo with dependencies
PHP Build Version
Package Version
Requires
topthink/framework Version
^6.0.0
The package topthink/think-mongo contains the following files
Loading the files please wait ....