modera/security-bundle

提供数据库感知的 Security 模型实现以及一些其他优点

安装数: 5,633

依赖项: 3

建议者: 0

安全: 0

星标: 3

关注者: 7

分支: 3

开放性问题: 0

类型:symfony-bundle

v3.1.0 2021-09-05 12:51 UTC

README

为 Symfony 提供底层安全集成层以及用户组权限 Doctrine ORM 映射域模型。

安装

步骤 1: 下载 Bundle

composer require modera/security-bundle:4.x-dev

此命令要求您全局安装 Composer,如 Composer 文档中的安装章节所述。

步骤 2: 启用 Bundle

此 Bundle 应由 Flex 自动启用。如果您不使用 Flex,则需要手动在项目中的 config/bundles.php 文件中添加以下行以启用该 Bundle

<?php
// config/bundles.php

return [
    // ...
    Modera\SecurityBundle\ModeraSecurityBundle::class => ['all' => true],
];

许可

此 Bundle 受 MIT 许可证保护。请参阅 Bundle 中的完整许可证:Resources/meta/LICENSE