Download the PHP package quansitech/qscmf-access-generation without Composer

On this page you can find all versions of the php package quansitech/qscmf-access-generation. 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 qscmf-access-generation

quansitech/qscmf-access-generation

Travis (.com) style ci download lincense LICENSE Pull request welcome

介绍

由于手动添加权限点比较繁琐,并且容易出错,所有寄希望于脚本来简化操作。该功能主要实现权限点添加,额外实现qs_node节点添加

安装

安装qs_cmf

composer安装

使用

目前支持的laravel功能有 migrate、make:model、make:seeder、db:seed,具体用法请自行查阅laravel手册。

migrate文件必须存放在lara/database/migrations下,在lara目录下的.env文件中配置要访问的数据库,然后在项目根目录执行php artisan migrate即可完成数据库的迁移,相关的migrate命令可查看laravel文档。

测试脚本必须存放到lara/tests路径下,继承该目录下的TestCase类。配置phpunit.xml文件,设置可用于测试使用的数据库及web服务地址端口。最后运行phpunit,执行测试脚本。关于laravel dusk的使用请查阅laravel文档。

文档

Node

用于生成qs_node节点数据,并且已存在的节点程序不会再创建

使用

请参考lara\database\migrations\2020_05_29_090217_create_test_node_data.php文件

Node:up、Node:down方法参数说明

参数 $nodeData 必填

$nodeData参数是一个二维数组格式如下:

参数 $nodeNameOrId 选填

说明:模块名:默认为admin,可选填qs_node中level=1的id或name的值 如默认的amdin模块id=1

Access

用于生成qs_access权限点数据

Access:up、Access:down方法参数说明

参数 $data必填

$nodeData参数是一个二维数组格式如下:

参数 $role_id 必填

说明:用户组id值

参数 $firstNode 选填

说明:模块名:默认为admin,可选填qs_node中level=1的id或name的值如默认的amdin模块id=1


All versions of qscmf-access-generation with dependencies

PHP Build Version
Package Version
Requires tiderjian/think-core Version >=11.0
funkjedi/composer-include-files Version ^1.0
guzzlehttp/guzzle Version ^6.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 quansitech/qscmf-access-generation contains the following files

Loading the files please wait ...