File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,11 @@ First, pull in the package through Composer.
6060composer require cybercog/laravel-ownership
6161```
6262
63- And then include the service provider within ` app/config/app.php ` .
63+ #### Register Package Manually (optional)
64+
65+ If you disabled package auto-discovery you can register it manually.
66+
67+ Include the service provider within ` app/config/app.php ` .
6468
6569``` php
6670'providers' => [
@@ -119,7 +123,7 @@ Schema::table('articles', function (Blueprint $table) {
119123
120124#### Overwrite strict ownership owner's foreign key
121125
122- By default owner model will be the same as ` config('auth.providers.users.model') ` provides.
126+ By default, owner model will be the same as ` config('auth.providers.users.model') ` provides.
123127
124128To override default owner model in strict ownership, it's primary key or foreign key extend your ownable model with additional attributes:
125129
You can’t perform that action at this time.
0 commit comments