navruzm/lmongo
最新稳定版本:v1.0.0-beta
Composer 安装命令:
composer require navruzm/lmongo
包简介
MongoDB Package for Laravel 4.
README 文档
README
LMongo is MongoDB package for Laravel 4.
Installation
Add navruzm/lmongo as a requirement to composer.json:
{
"require": {
"navruzm/lmongo": "*@dev"
}
}
And then run composer update
Once Composer has installed or updated your packages you need to register LMongo. Open up app/config/app.php and find the providers key and add:
'LMongo\LMongoServiceProvider'
Then find the aliases key and add following line to the array:
'LMongo' => 'LMongo\Facades\LMongo', 'EloquentMongo' => 'LMongo\Eloquent\Model',
Finally you need to publish a configuration file by running the following Artisan command.
$ php artisan config:publish navruzm/lmongo
This will copy the default configuration file to app/config/packages/navruzm/lmongo/config.php
Documentation
统计信息
- 总下载量: 26.5k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 128
- 点击次数: 1
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-01-13