You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<ahref="https://travis-ci.com/nullthoughts/laravel-data-sync"><imgsrc="https://api.travis-ci.com/nullthoughts/laravel-data-sync.svg?branch=master"alt="Travis CI Build Status: Master"></a>
5
5
</p>
6
6
@@ -11,22 +11,22 @@ Laravel utility to keep records synchronized between environments through source
11
11
## Installation
12
12
You can install this package via composer:
13
13
```bash
14
-
composer require distinctm/laravel-data-sync
14
+
composer require nullthoughts/laravel-data-sync
15
15
```
16
16
17
17
Or add this line in your `composer.json`, inside of the `require` section:
18
18
19
19
```json
20
20
{
21
21
"require": {
22
-
"distinctm/laravel-data-sync": "^1.0",
22
+
"nullthoughts/laravel-data-sync": "^1.0",
23
23
}
24
24
}
25
25
```
26
26
then run ` composer install `
27
27
28
28
## Usage
29
-
- Run `php artisan vendor:publish --provider="distinctm\LaravelDataSync\DataSyncBaseServiceProvider" --tag="data-sync-config"` to publish config file. Specify directory for sync data files (default is a new sync directory in the project root)
29
+
- Run `php artisan vendor:publish --provider="nullthoughts\LaravelDataSync\DataSyncBaseServiceProvider" --tag="data-sync-config"` to publish config file. Specify directory for sync data files (default is a new sync directory in the project root)
30
30
- Create a JSON file for each model, using the model name as the filename. Example: Product.json would update the Product model
31
31
- Use nested arrays in place of hardcoded IDs for relationships
32
32
- Run `php artisan data:sync` (or `php artisan data:sync --model={model}` with the model flag to specify a model)
0 commit comments