Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/habibun/symfony-mongodb

MongoDB database with Symfony applications
https://github.com/habibun/symfony-mongodb

bundle mongo mongodb php symfony symfony-bundle

Last synced: 3 days ago
JSON representation

MongoDB database with Symfony applications

Awesome Lists containing this project

README

        

## About The Project
[MongoDB][mongodb] database with Symfony applications.

In this repository, every branch holds a separate example project except the main branch.
Please check the [projects](#projects) section for more details.

## Overview
| Branch | MongoDB Version | Symfony Version | PHP Version |
|----------------------------|-----------------|-----------------|-------------|
| [dmdb45][dmdb45] | `^6.0` | `^5.4` | `^8.1` |
| [mert-sevinc][mert-sevinc] | `^4.4` | `^4.4` | `^7.4` |

## Projects
A simple CRUD application using DoctrineMongoDBBundle: ^4.5

Product Index Page

**Code:** https://github.com/habibun/symfony-mongodb/tree/dmdb45
**Resources:**
- [DoctrineMongoDBBundle](https://www.doctrine-project.org/projects/doctrine-mongodb-bundle/en/latest/index.html)

#### Installation
```bash
git clone [email protected]:habibun/symfony-mongodb.git
cd symfony-mongodb
git checkout dmdb45
symfony composer install
```

Symfony 4 and Doctrine Mongo DB

User Index Page

**Code:** https://github.com/habibun/symfony-mongodb/tree/mert-sevinc
**Resources:**
- [Symfony 4 and Doctrine Mongo DB](https://medium.com/@ahmetmertsevinc/symfony-4-and-doctrine-mongo-db-c9ac0f02f742)

#### Installation
```bash
git clone [email protected]:habibun/symfony-mongodb.git
cd symfony-mongodb
git checkout mert-sevinc
symfony composer install
```

## Learn More
- [MongoDB Docs](https://www.mongodb.com/docs/)
- [MongoDB Community Edition on Ubuntu](https://www.mongodb.com/docs/v4.4/tutorial/install-mongodb-on-ubuntu/)
- [MongoDB Shell](https://www.mongodb.com/docs/mongodb-shell/)
- [Symfony2 & MongoDB ODM: Adding the missing ParamConverter](https://matthiasnoback.nl/2012/10/symfony2-mongodb-odm-adding-the-missing-paramconverter/)

## License
Distributed under the MIT License. See **[LICENSE][license]** for more information.

[//]: # (Links)
[mongodb]: https://www.mongodb.com
[license]: https://github.com/habibun/symfony-mongodb/blob/main/LICENSE

[mert-sevinc]: https://github.com/habibun/symfony-mongodb/tree/mert-sevinc
[dmdb45]: https://github.com/habibun/symfony-mongodb/tree/dmdb45
[license]: https://github.com/habibun/symfony-mongodb/blob/main/LICENSE