2017 © Pedro Peláez
 

library mongodb-core

A MongoDB based Query builder for Laravel

image

jenssegers/mongodb-core

A MongoDB based Query builder for Laravel

  • Sunday, July 22, 2018
  • by jenssegers
  • Repository
  • 5 Watchers
  • 16 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 2 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Laravel MongoDB Core

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)

Contributing

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)

How can I contribute?

1. Reviewing

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)

2. Writing Tests

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)

3. Pull Requests

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)

4. Documentation

This package provides quite some functionality, and documenting it will be a challenge. Contributions to add and/or improve documentation are certainly welcome!, (*9)

Installation

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

Testing

The tests can be run inside a Docker container using:, (*12)

make test

The Versions

22/07 2018

dev-master

9999999-dev https://github.com/jenssegers/laravel-mongodb-core

A MongoDB based Query builder for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

mongodb database laravel model mongo moloquent