定制 navruzm/lmongo 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

View the official documentation

统计信息

  • 总下载量: 26.5k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 128
  • 点击次数: 1
  • 依赖项目数: 4
  • 推荐数: 0

GitHub 信息

  • Stars: 125
  • Watchers: 23
  • Forks: 40
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-01-13