Git Product home page Git Product logo

lmcrbacmvc's Introduction

Important: This respository is abandoned.

The library was moved to LM-Commons/LmcRbacMvc

LmcRbacMvc

Version Total Downloads License Master Branch Build Status Gitter Coverage Status Scrutinizer Code Quality

Role-based access control module to provide additional features on top of Zend\Permissions\Rbac

Based on ZF-Commons/zfc-rbac v2.6.x. If you are looking for the Laminas version of zfc-rbac v3, please use Laminas-Commons/LmcRbac.

Important Notes:

This version has breaking changes with respect to ZfcRbac v2. See the Upgrade section for details.

Requirements

Optional

Upgrade

LmcRbac introduces breaking changes from zfcrbac v2:

  • The namespace has been changed from ZfcRbac to LmcRbacMvc.
  • The key zfc-rbac in autoload and module config files has been replaced by the lmc-rbac key.

You can find an upgrade guide to quickly upgrade your application from major versions of ZfcRbac.

Installation

LmcRbacMvc only officially supports installation through Composer. For Composer documentation, please refer to getcomposer.org.

Install the module:

$ php composer.phar require laminas-commons/lmc-rbac-mvc:^3.0

This will install a Laminas MVC equivalent of zfc-rbac 2.6.3.

Enable the module by adding LmcRbacMvc key to your application.config.php or modules.config.php file. Customize the module by copy-pasting the lmc_rbac.global.php.dist file to your config/autoload folder.

Documentation

The official documentation is available in the /docs folder.

You can also find some Doctrine entities in the /data folder that will help you to more quickly take advantage of LmcRbac.

Support

lmcrbacmvc's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lmcrbacmvc's Issues

This repo will be moving to LM-Commons

Due to trademark issues with the use of Laminas in the name Laminas-Commons, we will create a new organization called LM-Commons and move this repository under the new organization in the coming months.

Laminas-Commons/LmcRbacMvc will become LM-Commons/LmcRbacMvc

Support for Doctrine ORM?

What should be the minimum version of Doctrine ORM that this library should support?

There are no references to Doctrine in the source code but this is a test suite that fails when testing with --prefer-lowest and PHP 7.3.

It fails when creating a Doctrine\ORM\EntityManager because the file UnitOfWork.php in the doctrine/orm library has a statement that fails in PHP 7.3.

Composer 2.0 Support

Maybe someone can update laminas/laminas-dependency-plugin dependency to https://github.com/laminas/laminas-dependency-plugin/releases/tag/2.0.0beta1? It just adds composer 2.0 support.

Add missing badges to README.md

Added the following badges to README.md

  • Latest stable version
  • Latest unstable version (?)
  • Coverage Status
  • Scrutinizer Quality Score
  • Total Downloads

Support for HHVM?

The Travis-CI has a build run for hhvm.

I am not familiar with hhvm. Can someone provide guidance on whether we should keep support for it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.