Download the PHP package littlemo/utils without Composer

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

Littlemo utils

Total Downloads Latest Stable Version Latest Unstable Version PHP Version License

介绍

php常用工具库

安装

composer.json

使用

统计单位时间内同一个IP请求次数

需要安装redis扩展,并启动 redis 服务

示例代码

自动更新Git

仅支持gitee

示例代码

下载文件

示例代码

Tools

生成随字符串

示例代码
参数说明 参数 类型 默认 说明
length int 32 制作随机字符串长度
enum Array ['0','a','A'] 字符串类型选择(0=0-9,a=a-z,A=A-Z)
dict string 初始字符库(自定义字符库)

制作签名

示例代码
参数说明 参数 类型 必填 默认 说明
params Array Y 需要按照字段名的ASCII 码从小到大排序(字典序)的参数
params_disorder Array N [] 无需排序操作的参数
type string N md5 加密方式(可选:md5,MD5,sha1,SHA1)
type可选参数说明 参数 说明
md5 以 32 字符的十六进制数形式返回散列值
MD5 以 16 字符长度的原始二进制格式返回
sha1 40 字符长度的十六进制数
SHA1 以 20 字符长度的原始二进制格式返回

Banner

合成图片

示例代码

参与贡献

  1. littlemo

特技


All versions of utils with dependencies

PHP Build Version
Package Version
Requires php Version ^7.0||^8.0
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 littlemo/utils contains the following files

Loading the files please wait ....