Skip to content

Commit f14dc0a

Browse files
committed
V3.1 details
1 parent 9980bc7 commit f14dc0a

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

readme.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,35 @@
88

99
Laravel 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": "[email protected]",
31+
// ...
32+
}
33+
]
34+
```
35+
36+
- Further work is required to support remote disks
37+
38+
---
39+
1140
## Installation
1241
You can install this package via composer:
1342
```bash

0 commit comments

Comments
 (0)