File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 88
99Laravel utility to keep records synchronized between environments through source control
1010
11+ ## V3.1 branch Notes (Work in progress)
12+ - Adds support for Laravel 8+ models directory in ` config/data-sync.php ` :
13+ ```
14+ 'namespace' => '\\App\\Models\\',
15+ ```
16+
17+ - Adds ability to export existing Models to data sync files:
18+ ```
19+ php artisan data:export User --criteria=name --criteria=email --except=id
20+ ```
21+
22+ which generates
23+
24+ ``` json
25+ [
26+ {
27+ "_name" : " Cameron Frye" ,
28+ "properties->title" : " Best Friend" ,
29+ "phone_numbers->mobile" : " 555-555-5556" ,
30+ "_email" : " noreply@buellerandco.com" ,
31+ // ...
32+ }
33+ ]
34+ ```
35+
36+ - Further work is required to support remote disks
37+
38+ ---
39+
1140## Installation
1241You can install this package via composer:
1342``` bash
You can’t perform that action at this time.
0 commit comments