PHPackages                             webforge/utils - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. webforge/utils

ActiveLibrary[Framework](/categories/framework)

webforge/utils
==============

A basic lib for file system and utils

2.2.0(10mo ago)02.9k[1 PRs](https://github.com/webforge-labs/webforge-utils/pulls)3MITPHPPHP &gt;=8.0.0CI passing

Since Jul 20Pushed 5d ago1 watchersCompare

[ Source](https://github.com/webforge-labs/webforge-utils)[ Packagist](https://packagist.org/packages/webforge/utils)[ Docs](http://github.com/webforge-labs/webforge-utils)[ RSS](/packages/webforge-utils/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (21)Used By (3)

webforge-utils
==============

[](#webforge-utils)

whats included
--------------

[](#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
- 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
-----

[](#usage)

- [Dir and File API](docs/dir-and-file.md)

installation
------------

[](#installation)

Use [Composer](http://getcomposer.org) to install.

```
composer require webforge/utils

```

migrate to 2.0.x
----------------

[](#migrate-to-20x)

- use php 8.1

migrate to 1.1.x
----------------

[](#migrate-to-11x)

`Webforge\Common\String` was renamed to `Webforge\Common\StringUtil`

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance79

Regular maintenance activity

Popularity17

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 62.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~269 days

Recently: every ~218 days

Total

15

Last Release

184d ago

Major Versions

1.1.3 → 2.0.02022-01-31

v1.x-dev → 2.0.22023-06-27

2.2.0 → 3.0.0-alpha12025-07-03

PHP version history (4 changes)1.0.0PHP &gt;=5.3.2

1.1.0PHP &gt;=7.0.0

1.1.1PHP &gt;=5.6.0

2.0.0PHP &gt;=8.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/bc659f3d1fe2fd98e62c9ac16965126a8b2c7f3fe7fad3b7c6c5f548c46e0c27?d=identicon)[pscheit](/maintainers/pscheit)

---

Top Contributors

[![pscheit](https://avatars.githubusercontent.com/u/488189?v=4)](https://github.com/pscheit "pscheit (155 commits)")[![private-packagist[bot]](https://avatars.githubusercontent.com/in/727?v=4)](https://github.com/private-packagist[bot] "private-packagist[bot] (91 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

frameworksystemutil

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/webforge-utils/health.svg)

```
[![Health](https://phpackages.com/badges/webforge-utils/health.svg)](https://phpackages.com/packages/webforge-utils)
```

###  Alternatives

[pestphp/pest

The elegant PHP Testing Framework.

11.5k59.5M14.2k](/packages/pestphp-pest)[utopia-php/system

A simple library for obtaining information about the host's system.

25252.2k12](/packages/utopia-php-system)[silverstripe/behat-extension

SilverStripe framework extension for Behat

32564.2k5](/packages/silverstripe-behat-extension)[aura/system

A full-stack framework system built from Aura library packages.

621.2k](/packages/aura-system)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
