PHPackages                             dbizapps/utilities - 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. dbizapps/utilities

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

dbizapps/utilities
==================

Common utilities for PHP applications

v0.1.1(4y ago)04MITPHP

Since Sep 14Pushed 4y ago1 watchersCompare

[ Source](https://github.com/dbizapps/utilities)[ Packagist](https://packagist.org/packages/dbizapps/utilities)[ RSS](/packages/dbizapps-utilities/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Utilities
=========

[](#utilities)

This package provides common utility capabilities for PHP applications.

One set of utility classes is focused on International Components for Unicode (ICU ) datasets. For the following components, default ICU datasets are available as configuration files:

- Locales
- Currencies
- Timezones

In certain use cases, e.g. file operations, it must be determained on which operating system the application is executed. For this reason a utility class provides methods to resolve the underlaying operating system.

Installation
------------

[](#installation)

composer require dbizapps/utilities

Basic Usage International Components for Unicode (ICU)
------------------------------------------------------

[](#basic-usage-international-components-for-unicode-icu)

While creating instances of utility classes, default datasets are loaded from config files.

```
// create new currency class loads default configuration
$currencies = new Currency();
$locales = new Locale();
$timezones = new Timezone();

```

Datasets are searchable with key value pairs

```
// search for datasets
$currencies->search('code', 'USD']);
$locales->search('code', 'de']);

```

Custom Usage International Components for Unicode (ICU)
-------------------------------------------------------

[](#custom-usage-international-components-for-unicode-icu)

Custom utility datasets can be loaded via the constructor method. Custom datasets must comply to the internal data structure

```
// create new currency class with custom dataset
$currencies = new Currency([...]);
$locales = new Locale([...]);
$timezones = new Timezone([...]);

```

Usage OperatingSystem
---------------------

[](#usage-operatingsystem)

```
// static method to retrieve underlying os
$os = OperatingSystem::getOs()

// static method to evaluate if operating system is windows
$check = OperatingSystem::isWindows()

// static method to evaluate if operating system is windows
$check = OperatingSystem::isMac()

```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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 ~9 days

Total

2

Last Release

1696d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e85d042af6c9730c747e158b2b03e6876ebc03b3d2bdf5e3fe5e55fe4f6e6b2?d=identicon)[dbizapps](/maintainers/dbizapps)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dbizapps-utilities/health.svg)

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

###  Alternatives

[serhioromano/bootstrap-calendar

Bootstrap full view calendar.

3.0k5.9k2](/packages/serhioromano-bootstrap-calendar)[motomedialab/laravel-self-healing-urls

Generate self-healing URLs for models

252.7k](/packages/motomedialab-laravel-self-healing-urls)

PHPackages © 2026

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