PHPackages                             easyswoole-tool/hyperf-orm-permission - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. easyswoole-tool/hyperf-orm-permission

ActiveLibrary

easyswoole-tool/hyperf-orm-permission
=====================================

An authorization library that supports access control models like ACL, RBAC, ABAC in EsaySwoole Hyperf Orm.

0118PHP

Since Jul 26Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ice-leng/easyswoole-hyperfOrm-permission)[ Packagist](https://packagist.org/packages/easyswoole-tool/hyperf-orm-permission)[ RSS](/packages/easyswoole-tool-hyperf-orm-permission/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

 [ ![](https://raw.githubusercontent.com/easy-swoole/easyswoole/3.x/easyswoole.png) ](https://www.easyswoole.com/)

EasySwoole Hyperf Orm Permission
=================================

[](#easyswoole-hyperf-orm-permission-)

Install
-------

[](#install)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
composer require easyswoole-tool/hyperf-orm-permission dev-master

```

or add

```
"easyswoole-tool/hyperf-orm-permission": "dev-master"

```

to the require section of your `composer.json` file.

Dependent
---------

[](#dependent)

[easyswoole/hyperf-orm](https://github.com/easy-swoole/hyperf-orm/)

Sql
---

[](#sql)

```
CREATE TABLE  if not exists  `casbin_rules` (
  `id` BigInt(20) unsigned NOT NULL AUTO_INCREMENT,
  `ptype` varchar(255) DEFAULT NULL,
  `v0` varchar(255) DEFAULT NULL,
  `v1` varchar(255) DEFAULT NULL,
  `v2` varchar(255) DEFAULT NULL,
  `v3` varchar(255) DEFAULT NULL,
  `v4` varchar(255) DEFAULT NULL,
  `v5` varchar(255) DEFAULT NULL,
  `create_at` int NULL DEFAULT NULL,
  `update_at` int NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8mb4;
```

Config
------

[](#config)

// dev.php

```
