{"repo":"offline-agency/laravel-mongo-auto-sync","free":true,"listed":false,"github":"https://github.com/offline-agency/laravel-mongo-auto-sync","clone":"git clone https://github.com/offline-agency/laravel-mongo-auto-sync.git","description":"This package provides a better support for MongoDB relationships in Laravel Projects.","language":"PHP","stars":16,"topics":["mongodb","laravel","sync-collection","relationships","hacktoberfest2020","hacktoberfest","database","hacktoberfest2021","hacktoberfest2022"],"license":"MIT","category":"databases-storage","readme_excerpt":"Laravel MongoDB Relationships This package provides a better support for MongoDB relationships in Laravel Projects. At low level all CRUD operations has been handled by jenssegers/laravel-mongodb Installation Prerequisites Make sure you have the MongoDB PHP driver installed. You can find installation instructions at http://php.net/manual/en/mongodb.installation.php Package version Compatibility This package Laravel Laravel MongoDB -------------- --------- ----------------- 1.x 5.8.x 3.5.x 1.x 6.x 3.6.x 2.x 5.8.x 3.5.x 2.x 6.x 3.6.x 2.x 7.x 3.7.x 2.x 8.x 3.8.x 2.x 9.x 3.9.x 3.x 5.8.x 3.5.x 3.x 6.x 3.6.x 3.x 7.x 3.7.x 3.x 8.x 3.8.x 3.x 9.x 3.9.x PHP Version Compatibility - Version 1: PHP 7.1, 7.2, 7.3 - Version 2: PHP 7.4 - Version 3: PHP 7.4-8.1 Features - Sync changes between collection with relationships after CRUD operations - EmbedsOne & EmbedsMany Example without our package The sub document article has not been updated with the new article. So you will need some extra code to write in order to see the new article it in the category page. The number of sync depends on the number of the relationships and on the number of the entry in every single EmbedsMany relationships. Total updates = ∑ (entry in all EmbedsMany relationships) + ∑ (EmbedsOne relationships) As you can see the lines of extra code can rapidly increase, and you will write many redundant code. Example with our package The sub document article has been updated with the new article, with no need of extra code :","default_branch":null,"files":null,"tree":[],"storefront":"/r/offline-agency","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/offline-agency/laravel-mongo-auto-sync/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."}