linkorb/spicedb-bundle
最新稳定版本:v3.10.2
Composer 安装命令:
composer require linkorb/spicedb-bundle
包简介
SpiceDB bundle for Symfony apps
README 文档
README
Warning
This is a read-only repository used to release the subtree. Any issues and pull requests should be forwarded to the upstream Nebula repository.
Authzed Symfony Bundle
This repository is integration of PHP library into Symfony app.
SpiceDB is a database system for managing security-critical permissions checking.
Check parent library README for more details
Basic Usage
Installation
composer require linkorb/spicedb-bundle
After that you need to specify SpiceDB URI & API env variables:
SPICEDB_URI='http://spicedb:8443'
SPICEDB_KEY='somerandomkeyhere'
Getting client
In order to use SpiceDB client in your app simply call:
$container->get(LinkORB\Authzed\SpiceDB::class)
or:
$container->get(LinkORB\Authzed\ConnectorInterface::class)
You can also pass it in services (or using autowiring). For more information on SpiceDB connector calls refer to library repo.
统计信息
- 总下载量: 398
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-03-16