Download the PHP package gzqsts/file-path without Composer

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

File Path - 文件路径处理工具包

提供强大的文件路径解析、操作和格式化功能。

功能特性

环境要求

安装

通过 Composer 安装:

快速开始

基本用法

创建路径对象

获取路径信息

修改路径

所有修改操作都返回新的 Path 实例,原对象不变(不可变对象模式)。

设置目录分隔符

路径字符串转换

创建目录

链式调用

完整示例

API 参考

构造函数

创建一个新的 Path 实例。

获取方法

修改方法(返回新实例)

转换方法

静态方法

注意事项

  1. 不可变对象:所有 with* 方法都返回新的 Path 实例,原对象不会被修改
  2. 路径规范化:构造函数会自动将反斜杠转换为正斜杠,并规范化路径
  3. 空值处理:获取方法可能返回空字符串或 null,请根据实际情况处理
  4. URL支持:支持解析和操作URL路径,包括协议、主机、端口和查询参数

All versions of file-path with dependencies

PHP Build Version
Package Version
Requires php Version >=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 gzqsts/file-path contains the following files

Loading the files please wait ...