File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ Navigate to `app.php` in `bootstrap` folder and add following line after config
17
17
``` php
18
18
$app->register(Nanvaie\DatabaseRepository\DatabaseRepositoryServiceProvider::class)
19
19
```
20
+ Copy [ repository.php] ( ./src/Config/repository.php ) to project config folder located at project root.
20
21
21
22
Note: Make sure to run ` composer dump-autoload ` after these changes.
22
23
Original file line number Diff line number Diff line change 26
26
'repository ' => 'app ' .DR .'Models ' .DR .'Repositories ' .DR ,
27
27
],
28
28
29
- 'absolute ' => [
30
- 'entities ' => app_path ('Models ' .DR .'Entities ' .DR ),
31
- 'factories ' => app_path ('Models ' .DR .'Factories ' .DR ),
32
- 'resource ' => app_path ('Http ' .DR .'Resources ' .DR .'Admin ' .DR ),
33
- 'repository ' => app_path ('Models ' .DR .'Repositories ' .DR ),
34
- ]
35
-
36
29
]
37
30
38
31
];
You can’t perform that action at this time.
0 commit comments