1 Star 3 Fork 0

dkou / php-utils

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

PHP工具类合集

常用函数收集、归类,统一调用方式,拿来即用。

背景

PHP发展至今,在网上其实有一系列经过前人整理出来非常优秀的函数,而大多数的PHPer更倾向于拿来即用,目前暂时没有一个类似Java的HuTool一样的工具集,把网上可复用的,与业务无关的工具函数整理起来。减少重复定义,提高效率。

优点

  • 对网上优秀的工具函数收集并分类整理,目前已有分类:Str、Array、DateTime、File、Vaildate、Money、Curl、Img等。
  • 统一调用方式,减轻运行压力,调用起来非常优雅。
  • 持续更新。

工具类列表

工具类名 说明
ArrayUtils 数组工具类
CurlUtils curl工具类
DateTimeUtils 日期时间工具类
DesensitizeUtils 数据脱敏相工具类
FileUtils 文件工具类
FormatUtils 数据格式化工具类
IdCardUtils 身份证号码工具类
ImgUtils 图片工具类
MoneyUtils 金额工具类
RequestUtils 请求工具类
ServerUtils 请求服务端工具类
StrUtils 字符串工具类
SystemUtils 系统信息工具类
TreeUtils 二叉树工具类
ValidateUtils 数据校验工具类
MIT License Copyright (c) 2021 dkou Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

php常用工具类集合 展开 收起
PHP
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
PHP
1
https://gitee.com/ping_yuan/php-utils.git
git@gitee.com:ping_yuan/php-utils.git
ping_yuan
php-utils
php-utils
master

搜索帮助