Skip to content

Commit dda3400

Browse files
committed
Move Config Folder to root
1 parent 2e4272b commit dda3400

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Navigate to `app.php` in `bootstrap` folder and add following line after config
1717
```php
1818
$app->register(Nanvaie\DatabaseRepository\DatabaseRepositoryServiceProvider::class)
1919
```
20-
Copy [repository.php](./src/Config/repository.php) to project config folder located at project root.
20+
Copy [repository.php](config/repository.php) to project config folder located at project root.
2121

2222
Note: Make sure to run `composer dump-autoload` after these changes.
2323

File renamed without changes.

src/DatabaseRepositoryServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function offerPublishing(): void
3232
{
3333
if ($this->app instanceof LaravelApplication && $this->app->runningInConsole()) {
3434
$this->publishes([
35-
__DIR__.'/Config/repository.php' => config_path('repository.php'),
35+
__DIR__ . '../config/repository.php' => config_path('repository.php'),
3636
], 'repository-config');
3737
} elseif ($this->app instanceof LumenApplication) {
3838
$this->app->configure('repository');

0 commit comments

Comments
 (0)