Skip to content

Commit 2437fd5

Browse files
committed
Improve readme
1 parent 807c30a commit 2437fd5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,11 @@ First, pull in the package through Composer.
6060
composer 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

124128
To override default owner model in strict ownership, it's primary key or foreign key extend your ownable model with additional attributes:
125129

0 commit comments

Comments
 (0)