Download the PHP package mofeier/tools without Composer
On this page you can find all versions of the php package mofeier/tools. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mofeier/tools
More information about mofeier/tools
Files in mofeier/tools
Download mofeier/tools
More information about mofeier/tools
Files in mofeier/tools
Vendor mofeier
Package tools
Short Description 一个现代化的PHP工具库,提供消息处理、状态码管理、字符串转换、数学计算、双引擎加密功能等实用工具,特别优化URL参数和Token加密,使用PHP8.1+特性
License MulanPSL-2.0
Package tools
Short Description 一个现代化的PHP工具库,提供消息处理、状态码管理、字符串转换、数学计算、双引擎加密功能等实用工具,特别优化URL参数和Token加密,使用PHP8.1+特性
License MulanPSL-2.0
Please rate this library. Is it a good library?
Informations about the package tools
mofei Tools
这是一个现代化的PHP工具包,提供了常用的工具函数、消息体处理和加密功能。使用PHP 8.1+特性优化,提供更好的性能和开发体验。
特性
- 🚀 现代化设计 - 使用PHP 8.1+特性,支持联合类型、数组解包等
- 📦 消息体构建 - 灵活的消息体构建和处理
- 🔐 加密功能 - 字符串加解密,支持自定义盐值
- 🛡️ 安全加密 - 现代化加密解决方案,支持URL参数和Token加密
- 🔄 双引擎支持 - 同时支持OpenSSL和Sodium加密引擎
- 📊 状态码管理 - 完善的HTTP状态码管理
- 🔧 字符串工具 - 驼峰、下划线等命名转换
- 🧮 高精度计算 - 基于BCMath的高精度数学运算
- ⚡ 链式调用 - 支持优雅的链式调用语法
- 🎯 静态/实例 - 同时支持静态和实例调用方式
环境要求
- PHP >= 8.1
- ext-json
- ext-mbstring
- ext-bcmath
- ext-openssl
安装
手动安装
- 下载源码
- 将
src
目录复制到你的项目中 - 引入自动加载文件
快速开始
详细使用说明
Message 消息体类
基本用法
批量设置字段
字段操作
字段映射和替换
输出格式
StatusCodes 状态码类
Tools 主工具类
StringConverter 字符串转换类
数组树形转换
编码转换
Utils 工具函数类
数组操作
生成器
验证器
格式化
密码处理
MathCalculator 高精度数学计算类
基本数学运算
统计函数
高级数学
帮助信息
运行示例
系统要求
- PHP 8.0 或更高版本
- BCMath 扩展(用于高精度计算)
- MBString 扩展(用于多字节字符串处理)
许可证
MulanPSL-2.0
贡献
欢迎提交Issue和Pull Request来改进这个工具包。
作者
- 莫斐 ([email protected])
SecureCrypto 安全加密工具(推荐)
- 具体可查看docs文档中的用法
All versions of tools with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
ext-bcmath Version *
ext-mbstring Version *
ext-json Version *
ext-openssl Version *
ext-bcmath Version *
ext-mbstring Version *
ext-json Version *
ext-openssl Version *
The package mofeier/tools contains the following files
Loading the files please wait ....