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