Download the PHP package 233cy/hyperf-casbin without Composer

On this page you can find all versions of the php package 233cy/hyperf-casbin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package hyperf-casbin

Hyperf Casbin

Test Latest Stable Version Total Downloads License

Casbin是一个强大的、高效的开源访问控制框架,其权限管理机制支持多种访问控制模型。本项目做了Hyperf适配并自带了一个RBAC模型,使用本项目前你需要先学会如何使用Casbin。

简单使用

Casbin只负责访问控制,在RBAC方案中也只是储存用户和角色之间的映射关系,身份认证、管理用户列表或角色列表应由项目自身来管理。这里有个简单的示例:example

版本定义

本项目主版本与Casbin主版本相同,子版本和修订版本为项目独有

重大变更

安装

发布配置

配置文件config/autoload/casbin.php

API

更多使用方法详见官方API

官方资源

参考库

License

This project is licensed under the Apache 2.0 license.


All versions of hyperf-casbin with dependencies

PHP Build Version
Package Version
Requires php Version >=7.3
ext-swoole Version >=4.5
hyperf/database Version ~3.0
hyperf/redis Version ~3.0
hyperf/process Version ~3.0
hyperf/db-connection Version ~3.0
hyperf/cache Version ~3.0
hyperf/utils Version ~3.0
hyperf/config Version ~3.0
hyperf/logger Version ~3.0
casbin/casbin Version ~3.20
hyperf/command Version ~3.0
casbin/psr3-bridge Version ~1.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package 233cy/hyperf-casbin contains the following files

Loading the files please wait ....