File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,20 @@ A Laravel package that allows you to assign settings to your models.
66[ ![ GitHub license] ( https://img.shields.io/github/license/CodeTechPt/laravel-model-settings?style=flat-square )] ( https://github.com/CodeTechPt/laravel-model-settings/blob/master/LICENSE )
77
88
9- ## Installation
9+ ## Installation & setup
1010
1111Add the package to your Laravel app using composer
1212
1313```
1414composer require codetech/laravel-model-settings
1515```
1616
17+ For changing migrations and configurations, you will need to publish both files by running the following Artisan command:
18+
19+ ```
20+ php artisan vendor:publish --provider="CodeTech\ModelSettings\Providers\ModelSettingsServiceProvider"
21+ ```
22+
1723
1824### Service Provider
1925
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class ModelSettingsServiceProvider extends ServiceProvider
1616 public function register ()
1717 {
1818 $ this ->mergeConfigFrom (
19- __DIR__ . '/../config/model-settings.php ' , 'settingable '
19+ __DIR__ . '/../config/model-settings.php ' , 'model-settings '
2020 );
2121 }
2222
You can’t perform that action at this time.
0 commit comments