acl:用于在CakePHP 3应用程序中管理ACL的插件

时间:2021-04-29 17:05:04
【文件属性】:
文件名称:acl:用于在CakePHP 3应用程序中管理ACL的插件
文件大小:55KB
文件格式:ZIP
更新时间:2021-04-29 17:05:04
PHP CakePHP Acl插件 一个用于在CakePHP应用程序中管理ACL的插件。 插件尚处于初始开发阶段,我最近开始使用cakephp,请发送建议和建设性批评。 通过composer安装 您可以使用composer 安装此插件。 将以下依赖项添加到您的composer.json文件: "require" : { "abreu1234/acl" : "dev-master" } 现在在您的php composer.phar update运行 通过将以下行添加到config\bootstrap.php来加载插件: Plugin :: load ( 'Acl' , [ 'bootstrap' => false , 'routes' => true ]); 建立表格 要使用Migrations为插件创建必要的表,请在终端中运行以下命令: bin/cake migrations mig
【文件预览】:
acl-master
----README.md(6KB)
----tests()
--------TestCase()
--------Fixture()
----composer.json(561B)
----phpunit.xml.dist(1KB)
----src()
--------Model()
--------Template()
--------Controller()
----config()
--------routes.php(578B)
--------Schema()
--------Migrations()
----LICENSE.txt(1KB)
----webroot()
--------js()

网友评论