Download the PHP package quansitech/qscmf-utils without Composer

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

qscmf辅助开发库

CmmProcess

迁移中调用tp的脚本

用法:

ConfigGenerator

迁移中处理系统配置的工具类

MenuGenerate

生成菜单和节点列表 自动处理menu和node的关系

用法

text controller为英文,对用户来说不太好理解,使用自定义中文说明更友好。 text 情景举例 接口返回的数据使用了缓存,当发生缓存雪崩时,大量的请求就会直接发送到MySql,会导致MySql压力过大,响应缓慢。 解决方案是,在发生缓存雪崩时,使用悲观锁,只有一个请求能从MySql中获取数据,设置好缓存值后,其它请求不需要获取锁,直接返回缓存值即可。 blade 该方法可以获取锁

参数 $key 名称 $expire 过期时间 单位为秒 $timeout 循环取锁时间 单位为秒,默认为0 $interval 取锁失败后重试间隔时间 单位为微秒,默认为100000 callback 若回调返回有效值,则提前退出取锁流程 回调返回数据类型为数组,[$flag,$result],若$flag为true,则返回$res,否则继续执行取锁流程

返回值 锁成功返回true 锁失败返回false blade 该方法可以释放锁

参数 $key 名称

返回值 释放锁的个数 blade 回调值无效则取锁

参数 key 名称 expire 过期时间 单位为秒 callback 若回调返回有效值,则提前退出取锁流程 回调返回数据类型为数组,[$flag,$result],若$flag为true,则返回$result,否则继续执行取锁流程 timeout 循环取锁时间 单位为秒 interval 取锁失败后重试间隔时间 单位为微秒

返回值为数组 第一个值为锁情况,锁成功返回true 锁失败返回false,若不存在则为null 第二个值为回调返回值,若不存在则为null 两个值只会存在其中一种 blade IMAGEPROXY_URL={schema}://{domain}/ip/{options}/{remote_uri}

占位符用{}包裹 schema 当前地址的协议类型 http 或者 https domain 当前网站使用的域名 options 图片处理规则 https://godoc.org/willnorris.com/go/imageproxy#ParseOptions remote_uri 代理的图片uri,如果外网图片,该占位符会替换成该地址,否则是网站图片的uri path 网站图片的相对地址,如 http://localhost/Uploads/image/20190826/5d634f5f6570f.jpeg,path则为Uploads/image/20190826/5d634f5f6570f.jpeg

有些项目,需要采用远程的一台服务器作为图片代理服务,此时可通过在.env设置IMAGEPROXY_REMOTE来设置远程服务器的域名

Common 公用函数

text 生成权限点

使用权限点来限制字段、按钮的展示时,一般格式为: 模块.控制器.方法名,如 admin.user.add text 给数据表及其字段添加/修改注释 text 根据注释映射数组生成一个更改数据表及其字段注释的DDL shell 当程序运行异常,需要开发者及时干预时,可以便捷发送到钉钉警报群通知相关人员,便于第一时间处理。

如:Mysql 与 ES 数据同步差异较大。 env DING_TALK_ACCESS_TOKEN=your access_token


  + 使用时替换,优先级高

All versions of qscmf-utils with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0.0
tiderjian/think-core Version >=12.4
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-utils contains the following files

Loading the files please wait ....