From f14dc0a5c220e22a2ca0738ea271d168248156b4 Mon Sep 17 00:00:00 2001 From: Jani Gyllenberg Date: Wed, 7 Sep 2022 12:42:16 -0400 Subject: [PATCH] V3.1 details --- readme.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/readme.md b/readme.md index 7304b18..40476a6 100644 --- a/readme.md +++ b/readme.md @@ -8,6 +8,35 @@ Laravel utility to keep records synchronized between environments through source control +## V3.1 branch Notes (Work in progress) +- Adds support for Laravel 8+ models directory in `config/data-sync.php`: +``` +'namespace' => '\\App\\Models\\', +``` + +- Adds ability to export existing Models to data sync files: +``` +php artisan data:export User --criteria=name --criteria=email --except=id +``` + +which generates + +```json +[ + { + "_name": "Cameron Frye", + "properties->title": "Best Friend", + "phone_numbers->mobile": "555-555-5556", + "_email": "noreply@buellerandco.com", + // ... + } +] +``` + +- Further work is required to support remote disks + +--- + ## Installation You can install this package via composer: ```bash