dev-master
9999999-dev https://github.com/jenssegers/laravel-mongodb-coreA MongoDB based Query builder for Laravel
MIT
The Requires
The Development Requires
by Jens Segers
mongodb database laravel model mongo moloquent
A MongoDB based Query builder for Laravel
The MongoDB Core package that powers laravel-mongodb., (*1)
This package provides core functionality to your Laravel application to connect to a Mongo database. It provides a Mongo database connector and a query builder. If you want to have MongoDB support for your Eloquent models, check out laravel-mongodb., (*2)
This package is still under heavy development. I'm starting a complete rewrite of laravel-mongodb, starting with splitting of the core functionality into a separate package., (*3)
Laravel has changed a lot since the original code was written. I have found a much more elegant way of extending the Laravel query builder with MongoDB support using grammars., (*4)
I am currently looking for contributors and reviewers to get this package ready for production so that it can be integrated in laravel-mongodb., (*5)
Review code being pushed to this repository, and create issues to discuss if you may have found a better way to solve a certain functionality., (*6)
Tests are important to make sure this package remains stable during its course of development. If you want a new feature, or think something is not working like it should, please add a test proving the correct functionality, so that me or others can provide the correct implementation., (*7)
Pull requests are more than welcome to speed up the development of the package. Currently, there are quite some methods in src/Query/Grammars/MongoGrammar.php that throw a not yet implemented
exception. I think implementing these are a great easy way to contribute!, (*8)
This package provides quite some functionality, and documenting it will be a challenge. Contributions to add and/or improve documentation are certainly welcome!, (*9)
Make sure you have the MongoDB PHP driver installed. You can find installation instructions here., (*10)
Install the package using composer:, (*11)
composer require jenssegers/mongodb-core
The tests can be run inside a Docker container using:, (*12)
make test
A MongoDB based Query builder for Laravel
MIT
mongodb database laravel model mongo moloquent