PHPackages                             heymehedi/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. heymehedi/utils

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

heymehedi/utils
===============

Collections of Some Utilities

v1.2.0(1y ago)025GPL-2.0-or-laterPHPPHP &gt;=7.4

Since Nov 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/HeyMehedi/Utils)[ Packagist](https://packagist.org/packages/heymehedi/utils)[ RSS](/packages/heymehedi-utils/feed)WikiDiscussions alpha Synced 1mo ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

Utils for WordPress
===================

[](#utils-for-wordpress)

What motivates me to create?
----------------------------

[](#what-motivates-me-to-create)

For every WordPress project, I have used repeatedly the same Utilities. So I have decided to make this repo for WP Community.

What you will get by using this?
--------------------------------

[](#what-you-will-get-by-using-this)

Reduce your extra codes from your actual project, write optimized code, prefix keys and lots more

Requirements
------------

[](#requirements)

Create a config file in your plugin root

```
/your-plugin-name/dynamic-utils.config.php
```

Return array with minimum these items.

```
return [
	'project_key' => 'content_restriction',
	'key_prefix'  => '_',
	'key_suffix'  => '_',
];
```

If you pass more items, and can access them using HeyMehedi\\Utils\\Config::get('your\_key'), here is an example from real-project

```
return [
	'version'     => '2.0.0',
	'min_php'     => '7.4',
	'db_version'  => '1.0.0',
	'menu_slug'   => 'all-in-one-content-restriction',
	'menu_cap'    => 'manage_options',
	'environment' => 'development',

	'project_key' => 'content_restriction',
	'key_prefix'  => '_',
	'key_suffix'  => '_',
];
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Every ~103 days

Total

3

Last Release

703d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/43073560?v=4)[Mehedi Hasan ⚡️](/maintainers/HeyMehedi)[@HeyMehedi](https://github.com/HeyMehedi)

---

Top Contributors

[![HeyMehedi](https://avatars.githubusercontent.com/u/43073560?v=4)](https://github.com/HeyMehedi "HeyMehedi (11 commits)")

---

Tags

wordpresshelpersboilerplateutilsutilities

### Embed Badge

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

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

###  Alternatives

[danielstjules/stringy

A string manipulation library with multibyte support

2.4k26.0M191](/packages/danielstjules-stringy)[voku/arrayy

Array manipulation library for PHP, called Arrayy!

4875.5M16](/packages/voku-arrayy)[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

2994.3M16](/packages/vaimo-composer-patches)[voku/stringy

A string manipulation library with multibyte support

1783.8M19](/packages/voku-stringy)[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

338920.1k32](/packages/dereuromark-cakephp-tools)[statamic/stringy

A string manipulation library with multibyte support, forked from @statamic

234.5M14](/packages/statamic-stringy)

PHPackages © 2026

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