You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+182-6Lines changed: 182 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -29,8 +29,10 @@ A Powerful package for handling roles and permissions in Laravel.
29
29
-[Entity Check](#entity-check)
30
30
-[Blade Extensions](#blade-extensions)
31
31
-[Middleware](#middleware)
32
-
-[Config File](#config-file)
32
+
-[Configuration](#configuration)
33
+
-[Environment File](#environment-file)
33
34
-[More Information](#more-information)
35
+
-[File Tree](#file-tree)
34
36
-[Opening an Issue](#opening-an-issue)
35
37
-[License](#license)
36
38
@@ -534,14 +536,185 @@ You can catch these exceptions inside `app/Exceptions/Handler.php` file and do w
534
536
535
537
---
536
538
537
-
## Config File
538
-
You can change connection for models, slug separator, models path and there is also a handy pretend feature. Have a look at [config file](https://github.com/jeremykenedy/laravel-roles/blob/master/config/roles.php) for more information.
539
+
## Configuration
540
+
* You can change connection for models, slug separator, models path and there is also a handy pretend feature.
541
+
* There are many configurable options which have been extended to be able to configured via `.env` file variables.
542
+
* Editing the configuration file directly may not needed becuase of this.
543
+
* See config file: [roles.php](https://github.com/jeremykenedy/laravel-roles/blob/master/config/roles.php).
For more information, please have a look at [HasRoleAndPermission](https://github.com/jeremykenedy/laravel-roles/blob/master/src/Contracts/HasRoleAndPermission.php) contract.
542
663
543
-
## Credit Note
544
-
This package is an adaptation of [romanbican/roles](https://github.com/romanbican/roles) and [ultraware/roles](https://github.com/ultraware/roles/).
0 commit comments