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

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

offset/utils
============

Utilities for the Offset environment

1.0.0(4y ago)09MITPHPPHP &gt;=7.0

Since Dec 30Pushed 4y agoCompare

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

READMEChangelogDependenciesVersions (3)Used By (0)

Utils - Utilities for the Offset environment
============================================

[](#utils---utilities-for-the-offset-environment)

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

[](#installation)

```
composer require offset/utils
```

Use
---

[](#use)

```
use Offset\Utils;

// Media Utilities
$media_id = 7;

Utils\Media::isImage($media_id);
Utils\Media::isVideo($media_id);
Utils\Media::getImageSizes($media_id);
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1600d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f92310287db168bd8da8a7b15d26e9e0849a6c7ab9a30d7fc32497d7e5f4bab8?d=identicon)[w-jerome](/maintainers/w-jerome)

---

Top Contributors

[![w-jerome](https://avatars.githubusercontent.com/u/1685550?v=4)](https://github.com/w-jerome "w-jerome (1 commits)")

---

Tags

wordpressblockgutenbergoffset

### Embed Badge

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

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

###  Alternatives

[log1x/poet

Configuration-based post type, taxonomy, editor color palette, block category, and block registration for Sage 10.

218280.1k1](/packages/log1x-poet)[log1x/acf-editor-palette

A replica Gutenberg color picker field for Advanced Custom Fields.

100284.1k](/packages/log1x-acf-editor-palette)[infinum/eightshift-libs

WordPress libs developed by Eightshift team to use in modern WordPress.

63118.9k3](/packages/infinum-eightshift-libs)[generoi/wp-gutenberg-button-popup

A boilerplate WordPress Gutenberg block

181.5k](/packages/generoi-wp-gutenberg-button-popup)[tiny-pixel/acorn-block-templates

Block templates for Sage 10

191.2k](/packages/tiny-pixel-acorn-block-templates)

PHPackages © 2026

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