Code Monkey home page Code Monkey logo

laravel-mongodb-core's Introduction

Laravel MongoDB Core

The MongoDB Core package that powers laravel-mongodb.

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.

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.

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.

I am currently looking for contributors and reviewers to get this package ready for production so that it can be integrated in laravel-mongodb.

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.

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.

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!

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!

Installation

Make sure you have the MongoDB PHP driver installed. You can find installation instructions here.

Install the package using composer:

composer require jenssegers/mongodb-core

Testing

The tests can be run inside a Docker container using:

make test

laravel-mongodb-core's People

Contributors

jenssegers avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.