Skip to content

Commit 8870fec

Browse files
authored
Update README.md
1 parent 4597a64 commit 8870fec

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,15 @@ php artisan vendor:publish --tag="access-tree-config"
2626

2727
## Usage
2828

29+
#Create a Permission or Role
2930
```php
30-
$variable = new VendorName\Skeleton();
31-
echo $variable->echoPhrase('Hello, VendorName!');
31+
$data = [
32+
'data_id' => 5,
33+
'name' => 'See Auth',
34+
'status' => 1
35+
];
36+
$create = createAccess($data, 'permission');
37+
echo $create;
3238
```
3339

3440
## Changelog

0 commit comments

Comments
 (0)