Download the PHP package xin/support without Composer

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

Support 库文档

概述

support 库是一个功能全面的 PHP 基础库,旨在为开发者提供日常开发中所需的各类工具和实用功能。无论是处理字符串、操作集合、进行加密、管理文件,还是处理时间、反射和 XML,都能为你提供简洁高效的解决方案。

许可证

本项目采用 Apache-2.0 许可证 - 详情请参见 LICENSE 文件。

安装方式

使用 Composer 安装:

模块与功能

基础工具

模块 描述
Arr.php 数组操作工具类(如过滤、提取、点符号访问等)
Str.php 字符串处理工具(如检查前缀/后缀、驼峰命名转换、随机字符串生成等)
File.php 文件系统操作(如检查文件存在性、读取内容、文件哈希计算等)
Number.php 数值计算辅助工具
Time.php 时间处理(包括格式化、解析、时间范围计算等)
Regex.php 正则表达式验证函数(邮箱、URL、手机号等)
Process.php 进程管理工具
Reflect.php 基于反射的类和方法操作
Xml.php XML 解析功能
Json.php JSON 编码/解码,增强错误处理
Position.php 地理位置坐标间距离计算及坐标系转换
Path.php 路径操作工具
Fluent.php 流畅接口模式实现
OS.php 获取操作系统信息
Retry.php 不可靠操作的重试机制
Pluralizer.php 单词复数化功能
Radix.php 进制转换工具(如 base64 编码、62进制转换)
Version.php 语义化版本比较工具
MacroProxy.php 对象宏扩展功能
HigherOrderTapProxy.php 高阶代理对象,支持流畅方法链

安全模块

模块 描述
Security\Secure.php 证书安全处理
Security\Encrypter.php 数据加密和解密工具
Security\Hash.php 哈希生成和验证
SimpleEncrypt.php 简化版加密器,满足基础加密需求

限流模块

模块 描述
LimitThrottle.php 简单限流器,支持条件执行路径

Web 工具

模块 描述
Web\Javascript.php JavaScript 代码生成和渲染
Web\Redirect.php HTTP 重定向工具
Web\ServerInfo.php 服务器环境信息访问
Web\ClientInfo.php 客户端检测和用户代理解析

使用示例

字符串操作

数组操作

集合操作

文件系统操作

时间处理

加密操作

反射操作

重试机制

限流器

版本比较

XML 解析

UBB 代码解析

流畅接口

高阶对象代理

对象宏扩展

正则表达式

服务器信息

JavaScript 生成

距离计算

进制转换

页面重定向

贡献

欢迎贡献!请提交拉取请求或开启议题来报告任何错误或功能请求。


All versions of support with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.9
ramsey/uuid Version ^3.5 | ^4.0
doctrine/inflector Version ^2.0
myclabs/php-enum Version ^1.8
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 xin/support contains the following files

Loading the files please wait ...