{"repo":"dunglas/doctrine-json-odm","free":true,"listed":false,"github":"https://github.com/dunglas/doctrine-json-odm","clone":"git clone https://github.com/dunglas/doctrine-json-odm.git","description":"An object document mapper for Doctrine ORM using JSON types of modern RDBMS.","language":"PHP","stars":631,"topics":["doctrine","json","normalizer","odm","symfony","symfony-bundle","postgresql","mysql"],"license":"MIT","category":"databases-storage","readme_excerpt":"Doctrine JSON ODM An Object-Document Mapper (ODM) for Doctrine ORM leveraging new JSON types of modern RDBMS. Did you ever dream of a tool creating powerful data models mixing traditional, efficient relational mappings with modern schema-less and NoSQL-like ones? With Doctrine JSON ODM, it's now possible to create and query such hybrid data models with ease. Thanks to modern JSON types of RDBMS, querying schema-less documents is easy, powerful and fast as hell (similar in performance to a MongoDB database)! You can even define indexes for those documents. Doctrine JSON ODM allows to store PHP objects as JSON documents in modern, dynamic columns of an RDBMS. It works with JSON and JSONB columns of PostgreSQL ( = 9.4) and the JSON column type of MySQL ( = 5.7.8). For more information about concepts behind Doctrine JSON ODM, take a look at the presentation given by Benjamin Eberlei at Symfony Catalunya 2016. Install To install the library, use Composer, the PHP package manager: composer require dunglas/doctrine-json-odm If you are using Symfony or API Platform, you don't need to do anything else! If you use Doctrine directly, use a bootstrap code similar to the following: Usage Doctrine JSON ODM provides a json document column type for properties of Doctrine entities. Starting with Doctrine DBAL 4.3.0+, a jsonb document type is also available, leveraging native JSONB support. The content of properties mapped with this type is serialized in JSON using the Symfony Serializer then,","default_branch":null,"files":null,"tree":[],"storefront":"/r/dunglas","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dunglas/doctrine-json-odm/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}