add spatie permissions

This commit is contained in:
2023-11-23 14:29:15 +05:00
parent 220f14f388
commit 0309e8f7d8
6 changed files with 416 additions and 3 deletions

84
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "e58705525417fe8583204c5b8835fd2e",
"content-hash": "db74e81011c0c297cac0a68bbe058ea3",
"packages": [
{
"name": "brick/math",
@@ -4148,6 +4148,88 @@
],
"time": "2023-08-23T09:04:39+00:00"
},
{
"name": "spatie/laravel-permission",
"version": "6.1.0",
"source": {
"type": "git",
"url": "https://github.com/spatie/laravel-permission.git",
"reference": "8e584d3ac09856e106f989741a2d82b094278e58"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/spatie/laravel-permission/zipball/8e584d3ac09856e106f989741a2d82b094278e58",
"reference": "8e584d3ac09856e106f989741a2d82b094278e58",
"shasum": ""
},
"require": {
"illuminate/auth": "^8.12|^9.0|^10.0",
"illuminate/container": "^8.12|^9.0|^10.0",
"illuminate/contracts": "^8.12|^9.0|^10.0",
"illuminate/database": "^8.12|^9.0|^10.0",
"php": "^8.0"
},
"require-dev": {
"laravel/passport": "^11.0",
"orchestra/testbench": "^6.23|^7.0|^8.0",
"phpunit/phpunit": "^9.4"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "6.x-dev",
"dev-master": "6.x-dev"
},
"laravel": {
"providers": [
"Spatie\\Permission\\PermissionServiceProvider"
]
}
},
"autoload": {
"files": [
"src/helpers.php"
],
"psr-4": {
"Spatie\\Permission\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Freek Van der Herten",
"email": "freek@spatie.be",
"homepage": "https://spatie.be",
"role": "Developer"
}
],
"description": "Permission handling for Laravel 8.0 and up",
"homepage": "https://github.com/spatie/laravel-permission",
"keywords": [
"acl",
"laravel",
"permission",
"permissions",
"rbac",
"roles",
"security",
"spatie"
],
"support": {
"issues": "https://github.com/spatie/laravel-permission/issues",
"source": "https://github.com/spatie/laravel-permission/tree/6.1.0"
},
"funding": [
{
"url": "https://github.com/spatie",
"type": "github"
}
],
"time": "2023-11-09T22:03:17+00:00"
},
{
"name": "spatie/laravel-translatable",
"version": "6.5.3",