承接 marcusamatos/jvs-acl 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

marcusamatos/jvs-acl

Composer 安装命令:

composer require marcusamatos/jvs-acl

包简介

Zend\Acl module to Zend Framework 2

关键字:

README 文档

README

This module provide a simple acl controller for zf2. This module can be used with Doctrin ORM. This is very simple, only implement the JvsAcl\Entity\UserGroupProviderInterface.

Requirements

Installation

  1. Add this project in your composer.json:
"required": {
    "marcusamatos/jvs-acl": "1.*"
}
  1. Enabling ir in your application.config.php file.
return array(
    'modules' => array(
        #[...]
        'JvsAcl'
        #[...]
    );
);
  1. Add \JvsAcl\Entity\GroupProviderInterface to your user entity

  2. Add in module.config.php

return array(
    #[...]
    'jvs-acl' => array(
        'groups' => array(
            'guest',
            'member' => array('name' => 'Member', 'parent' => 'guest', 'visible' => true),
            'admin' => array('name' => 'Administrator', 'parent' => 'member', 'visible' => true),
            'developer' => array('name' => 'Developer', 'parent' => 'admin')
        ),
        'controllers' => array(
            'Application\Controller\Index' => array(
                'guest' => 'allow'
            ),
            'Application\Controller\Auth' => array(
                'guest' => array(
                    'allow' => array('index', 'forgetPassword')
                )
            ),
            'Admin\Controller\Index' => array(
                'admin'
            ),
        )
    )
    #[...]
);

统计信息

  • 总下载量: 19
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2014-05-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固