Skip to content

mikelbring/Mongor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mongor - MongoDB Package for Laravel

For more information on Laravel, visit http://laravel.com

Inspired by https://github.com/Wouterrr/MangoDB

How to use

  • Move config/mongor.php to /application/config and edit credentials.
  • Create a model that extends Mongor\Model.
  • Each model is attached to a collection in the database
  • Create a variable protected $_collection = 'user'; where user is the collection name
  • Use CRUD methods found in Mongor\Model or call the MongoDB instance $_db for more methods
  • Refer to examples
  • Refer to http://www.mongodb.org/display/DOCS/Home for more MongoDB useage

About

Laravel MongoDB Package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages