Download the PHP package jncinet/qihucms-role without Composer

On this page you can find all versions of the php package jncinet/qihucms-role. 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 qihucms-role

会员权限

安装

使用

数据迁移

发布资源

添加到会员模型

删除过期权限,可以宝塔定时任务中添加运行此命令

后台菜单

接口

所有可开通的功能

开通功能

权限详细说明

数据库

签约项目表:roles

Field Type Length AllowNull Default Comment
id bigint
name varchar 255 签约名称
slug varchar 255 标识
desc varchar 255 Y NULL 简介
times mediumint 0 有效时长
unit enum 'days','weeks','months','year' days 单位
is_qualification_pa tinyint 0 个人认证?
is_qualification_co tinyint 0 企业认证?
currency_type_id bigint 0 货币类型
price decimal 0.00 价格
created_at timestamp Y NULL 创建时间
updated_at timestamp Y NULL 更新时间

功能权限表:permissions

Field Type Length AllowNull Default Comment
id bigint
name varchar 255 功能名称
slug varchar 255 Y NULL 标识
amount mediumint 0 数量限制
created_at timestamp Y NULL 创建时间
updated_at timestamp Y NULL 更新时间

签约项目后拥有功能权限表:role_permissions

Field Type Length AllowNull Default Comment
id bigint
permission_id bigint 功能权限ID
role_id bigint 签约项目ID
created_at timestamp Y NULL 创建时间
updated_at timestamp Y NULL 更新时间

会员己经签约的项目表:role_users

Field Type Length AllowNull Default Comment
id bigint
user_id bigint 会员ID
role_id bigint 签约项目ID
expires timestamp Y NULL 到期时间
created_at timestamp Y NULL 创建时间
updated_at timestamp Y NULL 更新时间

会员已经拥有的功能权限表:user_permissions

Field Type Length AllowNull Default Comment
id bigint
user_id bigint 会员ID
permission_id bigint 功能权限ID
expires timestamp Y NULL 到期时间
created_at timestamp Y NULL 创建时间
updated_at timestamp Y NULL 更新时间

All versions of qihucms-role with dependencies

PHP Build Version
Package Version
No informations.
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 jncinet/qihucms-role contains the following files

Loading the files please wait ....