PHPackages                             devtoolboxuk/utilitybundle - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. devtoolboxuk/utilitybundle

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

devtoolboxuk/utilitybundle
==========================

Basic Utility Bundle

1.0.16(6y ago)05.8k6MITPHP

Since May 12Pushed 6y ago1 watchersCompare

[ Source](https://github.com/devtoolboxuk/utility-bundle)[ Packagist](https://packagist.org/packages/devtoolboxuk/utilitybundle)[ RSS](/packages/devtoolboxuk-utilitybundle/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (1)Versions (18)Used By (6)

PHP Utility Bundle
==================

[](#php-utility-bundle)

Version: 1.0.0

Table of Contents
-----------------

[](#table-of-contents)

- [Summary](#summary)
- [Install](#install)
    - [Compile](#Compile)
- [Usage](#usage)
    - \[Call Utility Bundle\](#Call Utility Bundle)
    - *Memory*
    - \[Memory Usage\](#Memory Usage)
    - \[Peak Memory Usage\](#Peak Memory Usage)
    - *Debug*
    - \[Get execution time\](#Get execution time)
    - *Date*
    - \[Get date\](#Get date)
- [Maintainers](#maintainers)

Summary
-------

[](#summary)

PHP Library to perform some basic utility tasks (I got fed up of writing them for multiple projects)

Install
-------

[](#install)

Install Composer:

```
$ php -r "readfile('https://getcomposer.org/installer');" | php
```

Install dependencies:

```
$ php composer.phar install
```

```
use devtoolboxuk\utilitybundle;

$this->utility = new UtilityService();
```

Memory
------

[](#memory)

```
$memory = $this->utility->memory();
```

#### Memory usage

[](#memory-usage)

```
$memory->getMemUsage(); //Outputs the memory usage
```

#### Peak Memory usage

[](#peak-memory-usage)

```
$memory->getPeakMemUsage(); //Outputs the peak memory usage
```

Debug
-----

[](#debug)

```
$debug = $this->utility->debug();
```

#### Get execution time

[](#get-execution-time)

```
$debug->initialise();
$debug->executionTime();
```

Date
----

[](#date)

```
$debug = $this->utility->date();
```

#### Get date

[](#get-date)

```
$debug->convert(); //Returns the date time of now
$debug->convert('2019-02-07T12:00:00'); //Returns 2019-02-07 12:00:00
```

Maintainers
-----------

[](#maintainers)

[@devtoolboxuk](https://github.com/devtoolboxuk/).

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~8 days

Recently: every ~28 days

Total

17

Last Release

2425d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/11e7828108a460ad0b3dc92c08fa9e0e863168b8dae2b4d7041a6d699f936faa?d=identicon)[devtoolboxuk](/maintainers/devtoolboxuk)

---

Top Contributors

[![devtoolboxuk](https://avatars.githubusercontent.com/u/6337609?v=4)](https://github.com/devtoolboxuk "devtoolboxuk (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/devtoolboxuk-utilitybundle/health.svg)

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

###  Alternatives

[peppeocchi/php-cron-scheduler

PHP Cron Job Scheduler

8282.5M34](/packages/peppeocchi-php-cron-scheduler)[zackkitzmiller/tiny

A reversible base62 ID obfuscater.

401208.4k](/packages/zackkitzmiller-tiny)[klaussilveira/gitter

Gitter allows you to interact in an object oriented manner with Git repositories.

20032.4k5](/packages/klaussilveira-gitter)[lezhnev74/pasvl

Array Validator (regular expressions for nested array, sort of)

5253.7k3](/packages/lezhnev74-pasvl)

PHPackages © 2026

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