File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -15,17 +15,17 @@ From Laravel Version 6.0
15
15
4. npm run dev
16
16
```
17
17
18
- #Install the Package
18
+ # Install the Package
19
19
20
20
```
21
21
composer require codexshaper/laravel-permission
22
22
```
23
- #Publish Resource, Configs, Migration and Seeding Database in a single command
23
+ # Publish Resource, Configs, Migration and Seeding Database in a single command
24
24
25
25
```
26
26
php artisan permission:install
27
27
```
28
- #Or Publish Resource, Configs, Migration and Seeding Database Manually
28
+ # Or Publish Resource, Configs, Migration and Seeding Database Manually
29
29
1 . Publish Configs
30
30
```
31
31
php artisan vendor:publish --tag=permission.config
@@ -53,8 +53,6 @@ Route::group(['prefix' => config('permission.prefix')], function () {
53
53
});
54
54
```
55
55
#Import ` use CodexShaper\Permission\Traits\HasRoles ` or simply ` use HasRoles ` Trait into your ` App\User ` Model
56
-
57
- #Example
58
56
```
59
57
namespace App;
60
58
@@ -67,7 +65,7 @@ class User extends Authenticatable
67
65
```
68
66
#Check Permission go to ``` /admin/laravel-permission ```
69
67
70
- #Install Demo
68
+ # Install Demo
71
69
```
72
70
php artisan permission:install:demo
73
71
```
You can’t perform that action at this time.
0 commit comments