Skip to content

Commit 552bc8f

Browse files
committed
Update namespace
1 parent 7b89add commit 552bc8f

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@
1616
},
1717
"autoload": {
1818
"psr-4" : {
19-
"distinctm\\LaravelDataSync\\": "src/"
19+
"nullthoughts\\LaravelDataSync\\": "src/"
2020
}
2121
},
2222
"autoload-dev": {
2323
"psr-4" : {
24-
"distinctm\\LaravelDataSync\\Tests\\": "tests/"
24+
"nullthoughts\\LaravelDataSync\\Tests\\": "tests/"
2525
}
2626
},
2727
"extra": {
2828
"laravel": {
2929
"providers": [
30-
"distinctm\\LaravelDataSync\\DataSyncBaseServiceProvider"
30+
"nullthoughts\\LaravelDataSync\\DataSyncBaseServiceProvider"
3131
]
3232
}
3333
}

readme.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p align="center">
2-
<a href="https://packagist.org/packages/distinctm/laravel-data-sync" target="_blank"><img src="https://poser.pugx.org/distinctm/laravel-data-sync/d/total.svg" alt="Total Downloads"></a>
3-
<a href="https://packagist.org/packages/distinctm/laravel-data-sync" target="_blank"><img src="https://poser.pugx.org/distinctm/laravel-data-sync/v/stable.svg" alt="Latest Stable Version"></a>
2+
<a href="https://packagist.org/packages/nullthoughts/laravel-data-sync" target="_blank"><img src="https://poser.pugx.org/nullthoughts/laravel-data-sync/d/total.svg" alt="Total Downloads"></a>
3+
<a href="https://packagist.org/packages/nullthoughts/laravel-data-sync" target="_blank"><img src="https://poser.pugx.org/nullthoughts/laravel-data-sync/v/stable.svg" alt="Latest Stable Version"></a>
44
<a href="https://travis-ci.com/nullthoughts/laravel-data-sync"><img src="https://api.travis-ci.com/nullthoughts/laravel-data-sync.svg?branch=master" alt="Travis CI Build Status: Master"></a>
55
</p>
66

@@ -11,22 +11,22 @@ Laravel utility to keep records synchronized between environments through source
1111
## Installation
1212
You can install this package via composer:
1313
```bash
14-
composer require distinctm/laravel-data-sync
14+
composer require nullthoughts/laravel-data-sync
1515
```
1616

1717
Or add this line in your `composer.json`, inside of the `require` section:
1818

1919
``` json
2020
{
2121
"require": {
22-
"distinctm/laravel-data-sync": "^1.0",
22+
"nullthoughts/laravel-data-sync": "^1.0",
2323
}
2424
}
2525
```
2626
then run ` composer install `
2727

2828
## 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)
3030
- Create a JSON file for each model, using the model name as the filename. Example: Product.json would update the Product model
3131
- Use nested arrays in place of hardcoded IDs for relationships
3232
- Run `php artisan data:sync` (or `php artisan data:sync --model={model}` with the model flag to specify a model)

0 commit comments

Comments
 (0)