webforge/utils
最新稳定版本:3.0.0-rc2
Composer 安装命令:
composer require webforge/utils
包简介
A basic lib for file system and utils
关键字:
README 文档
README
whats included
- DateTime and Time classes for an advanced (and more concise) interface for the PHP::DateTime classes
- A full functional File and Directory implementation that abstracts a lot of PHP file funtions
- supports nearly every way to write a file path (and convert):
- windows D:\www\something.php
- unix /some/path
- wrappers: vfs://some/file/topath
- windows cygin /cydrive/d/www/someting.php
- windows shares \\psc-laptop\shared\www\something.php
- unix style windows paths (sublime and others): /D/www/something.php
- copy dirs and files recursively
- find files recursively
- supports nearly every way to write a file path (and convert):
- Commonly used Exceptions with better semantics and debug output (FileNotFound, NotImplemented, Deprecated)
- Some simple Utils to debug and dump variables
- A bunch of useful String and Array functions
usage
installation
Use Composer to install.
composer require webforge/utils
migrate to 2.0.x
- use php 8.1
migrate to 1.1.x
Webforge\Common\String was renamed to Webforge\Common\StringUtil
统计信息
- 总下载量: 2.93k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-07-20