Skip to content

Commit 0d569d4

Browse files
committed
updated readme & use directory separator for OS compatibility
1 parent 147da1d commit 0d569d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ $app->register(BeyondCode\ErdGenerator\ErdGeneratorServiceProvider::class);
5252

5353
## Usage
5454

55-
By default, the package will automatically detect all models in your `app` directory that extend the Eloquent Model class. If you would like you explicitly define where your models are located, you can publish the configuration file using the following command.
55+
By default, the package will automatically detect all models in your `app/Models` directory that extend the Eloquent Model class. If you would like you explicitly define where your models are located, you can publish the configuration file using the following command.
5656

5757
```bash
5858
php artisan vendor:publish --provider=BeyondCode\\ErdGenerator\\ErdGeneratorServiceProvider

config/config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* By default, the `app` directory will be scanned recursively for models.
88
*/
99
'directories' => [
10-
base_path('app\Models'),
10+
base_path('app' . DIRECTORY_SEPARATOR . 'Models'),
1111
],
1212

1313
/*

0 commit comments

Comments
 (0)