eye4web/eye4web-zf2-abac

Zend Framework 2 的 Abac

dev-docs 2014-09-18 12:14 UTC

This package is not auto-updated.

Last update: 2024-09-17 13:53:00 UTC


README

Build Status Code Climate Test Coverage Latest Stable Version Total Downloads Latest Unstable Version License

介绍

Eye4web\Zf2Abac 是一个基于属性的访问控制,适用于 Zend Framework 2

安装

使用 composer

  1. 运行以下 composer 命令

    $ php composer.phar require eye4web/eye4web-zf2-abac
  2. 在您的 application.config.php 文件中启用它。

    <?php
    return array(
        'modules' => array(
            // ...
            'Eye4web\Zf2Abac'
        ),
        // ...
    );

使用方法

请参阅 docs 文件夹

灵感来源

  • ZfcRbac(文档和 AssertionPluginManager)。

谢谢。

作者