Skip to content
This repository was archived by the owner on Mar 12, 2024. It is now read-only.

Commit 370b3fa

Browse files
committed
update docs
Signed-off-by: Dieter Coopman <dieter@deltasolutions.be>
1 parent cb169c0 commit 370b3fa

File tree

3 files changed

+15
-82
lines changed

3 files changed

+15
-82
lines changed
File renamed without changes.

README.md

Lines changed: 15 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,30 @@
1-
# TODO
1+
![Downloads](https://img.shields.io/packagist/dt/lloadout/components.svg?style=flat-square)
22

3-
* put the navigation part in code via package
3+
# Enforce
44

5-
## Installation of ui package
5+
With LLoadout Enforce you will kickstart your Laravel development when using Laravel Jetstream and Spatie permissions.
66

7-
### Clone this repo somewhere on your computer
8-
9-
for example in /Users/your-user/packages
10-
11-
### Installing package
12-
13-
add this to composer.json ( change folder with location of cloned repo )
14-
15-
```json
16-
17-
"repositories": [
18-
{
19-
"type": "path",
20-
"url": "/Users/your-user/packages/laravel-permissions-ui"
21-
}
22-
],
23-
24-
```
25-
26-
### Require package with
7+
## Installation
278

289
```shell
29-
composer require deltasolutions-kifed/laravel-permission-ui
10+
composer require lloadout/enforce
3011
```
3112

32-
### Publish installation file
33-
34-
```shell
35-
php artisan vendor:publish --tag=LLoadoutEnforce-installer
36-
```
13+
## Users, roles and permissions
14+
LLoadout Enforce will add a ui to manage your users, roles, permission and menus. It will also provide you with
15+
a ui to link users to roles and assign permissions to roles.
3716

38-
### Run installation file
17+
## Navigation
3918

40-
```shell
41-
bash install.sh
42-
```
19+
It provides a ui for navigation management and navigation permissions.
4320

44-
### Add navigation
4521

46-
add this to 'navigation-menu.blade.php'
47-
```php
4822

49-
<div class="hidden sm:flex sm:items-center sm:ml-6">
50-
<div class="ml-3 relative text-sm">
51-
<x-jet-dropdown align="right" width="60">
52-
<x-slot name="trigger">
53-
{{ __('User management') }}
54-
</x-slot>
55-
<x-slot name="content">
56-
<div class="w-60">
57-
<x-jet-dropdown-link href="{{ route('users.index') }}">
58-
{{ __('Manage users') }}
59-
</x-jet-dropdown-link>
60-
<x-jet-dropdown-link href="{{ route('users.roles') }}">
61-
{{ __('Manage roles') }}
62-
</x-jet-dropdown-link>
63-
<x-jet-dropdown-link href="{{ route('users.permissions') }}">
64-
{{ __('Manage permissions') }}
65-
</x-jet-dropdown-link>
66-
</div>
67-
</x-slot>
68-
</x-jet-dropdown>
69-
</div>
70-
</div>
23+
### Publish files
7124

25+
```shell
26+
php artisan vendor:publish --tag=LLoadoutEnforce-views
27+
php artisan vendor:publish --tag=LLoadoutEnforce-seeders
28+
php artisan vendor:publish --tag=LLoadoutEnforce-stubs
7229
```
7330

74-
### Permissions
75-
76-
if you manually create extra permissions in database than you need to run following code
77-
78-
```shell
79-
php artisan permission:cache-reset
80-
```

src/install.sh

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)