PHPackages                             efureev/support - 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. efureev/support

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

efureev/support
===============

PHP Support Package is a collection of useful functions and snippets

v5.1.3(9mo ago)272.6k—7%19MITPHPPHP ^8.4CI passing

Since Oct 24Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/efureev/php-support)[ Packagist](https://packagist.org/packages/efureev/support)[ RSS](/packages/efureev-support/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (126)Used By (9)

PHP Support
===========

[](#php-support)

[![](https://camo.githubusercontent.com/a63a3e758d97eb0a6915571d40d9104e7f9e11f9c73853206c213ba65928a4b4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e31253743382e322d626c75652e737667)](https://camo.githubusercontent.com/a63a3e758d97eb0a6915571d40d9104e7f9e11f9c73853206c213ba65928a4b4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e31253743382e322d626c75652e737667)[![PHP Package](https://github.com/efureev/php-support/workflows/PHP%20Package/badge.svg?branch=master)](https://github.com/efureev/php-support/workflows/PHP%20Package/badge.svg?branch=master)[![Build Status](https://camo.githubusercontent.com/6561c7af4a37b281e0270137e38504e7d1eea2b582478145fcd44ee81e3ec3dd/68747470733a2f2f7472617669732d63692e6f72672f656675726565762f7068702d737570706f72742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/efureev/php-support)[![Codacy Badge](https://camo.githubusercontent.com/9253b10f61aa557f132727d3e43eaa328e71626ed22ce7f72376414c1f378cdd/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f6135336662383566643161623436313639373538653130646432643831386362)](https://app.codacy.com/app/efureev/php-support?utm_source=github.com&utm_medium=referral&utm_content=efureev/php-support&utm_campaign=Badge_Grade_Settings)[![Latest Stable Version](https://camo.githubusercontent.com/e62c3b8e3c1dddf4829dba56f26182df07038c817133a6155f6776ddef64b939/68747470733a2f2f706f7365722e707567782e6f72672f656675726565762f737570706f72742f762f737461626c653f666f726d61743d666c6174)](https://packagist.org/packages/efureev/support)[![Total Downloads](https://camo.githubusercontent.com/3aeb6751b1f7756afc19748281f9764d682d5067e6afc558f777cfd0fa0767f4/68747470733a2f2f706f7365722e707567782e6f72672f656675726565762f737570706f72742f646f776e6c6f616473)](https://packagist.org/packages/efureev/support)[![Maintainability](https://camo.githubusercontent.com/52e380f35631bc625bfb5c14c80706836ab06d04c6aea2fb1d6f7d511bb7bfc3/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f61376366383730386266353866613765353039362f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/efureev/php-support/maintainability)[![Test Coverage](https://camo.githubusercontent.com/29040a79cabad067f83789dd081fe882a4750000d346d23eafe089b5275817ab/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f61376366383730386266353866613765353039362f746573745f636f766572616765)](https://codeclimate.com/github/efureev/php-support/test_coverage)[![codecov](https://camo.githubusercontent.com/b3e51dadd685a067f2a1ce20d763e960c93a1d81dcdf6f0c565a242e7a0b359a/68747470733a2f2f636f6465636f762e696f2f67682f656675726565762f7068702d737570706f72742f6272616e63682f76322f67726170682f62616467652e737667)](https://codecov.io/gh/efureev/php-support/tree/v2)

Install
-------

[](#install)

For php &gt;= 8.4

```
composer require efureev/support "^5.1"
```

For php &gt;= 8.1 (8.1, 8.2, 8.3)

```
composer require efureev/support "^4.19"
```

For php &gt;= 7.4 and &lt;=8.0

```
composer require efureev/support "^3.0"
```

For php &gt;= 7.2 &amp;&amp; &lt;=7.4

```
composer require efureev/support "^2.0"
```

Content
-------

[](#content)

- Helpers

    - Array
        - collapse (^4.16.0)
        - prepend (^4.16.0)
        - accessible
        - dataToArray
        - exists
        - fromPostgresArray
        - fromPostgresPoint (^4.8.0)
        - get
        - has
        - merge
        - random (^4.25.0)
        - remove
        - removeByValue
        - replaceByTemplate
        - set
        - toArray
        - toIndexedArray
        - toPostgresArray
        - toPostgresPoint (^4.8.0)
    - String
        - removeAccents (^4.9.0)
        - removeMultiSpace
        - replaceByTemplate
        - replaceStrTo
        - seemsUTF8 (^4.9.0)
        - slugify (^4.9.0)
        - toCamel
        - toDelimited
        - toKebab
        - toLowerCamel
        - toScreamingDelimited
        - toScreamingSnake
        - toSnake
        - truncate (^4.9.0)
    - Json
        - decode
        - encode
        - htmlEncode
    - Bit
        - addFlag
        - checkFlag
        - decBinPad
        - exist
        - grant
        - removeFlag
    - B64
        - decode
        - decodeSafe
        - encode
        - encodeSafe
    - Number
        - isInteger (^4.14.0)
        - safeInt (^4.1.0)
- Global functions

    - classNamespace
    - class\_basename
    - class\_uses\_recursive
    - dataGet (^4.16.0)
    - does\_trait\_use (^4.4.0)
    - eachValue (^4.15.0)
    - instance
    - isTrue
    - mapValue (^4.15.0)
    - remoteCall (^4.3.1)
    - remoteStaticCall (^4.3.1)
    - remoteStaticCallOrTrow (^4.7.0)
    - trait\_uses\_recursive
    - value
    - when
- Enums (^4.19.0)

    - casesToEscapeString
    - casesToString
    - hasName
    - hasValue
    - names
    - values
- Exceptions

    - ConfigException
    - Exception
    - InvalidArgumentException
    - InvalidCallException
    - InvalidConfigException
    - InvalidParamException
    - InvalidValueException
    - JsonException
    - MethodNotAllowedException
    - MissingClassException
    - MissingConfigException
    - MissingPropertyException
    - MissingMethodException (^4.7.0)
    - NotSupportedException
    - UnknownMethodException
    - UnknownPropertyException
- Interfaces

    - Arrayable
    - Command
    - Jsonable
    - Prototype
- Structures

    - Collections (^4.16.0)
        - ArrayCollection
        - HashCollection (^5.1.0)
- Traits

    - UseStorage
    - UseConfigurableStorage
    - ConfigurableTrait
    - ConsolePrint
    - Maker
    - Metable
    - ReadOnlyProperties
    - Singleton
    - Thrower
    - TraitBooter
    - TraitInitializer
    - Whener
- Types

    - GeoPoint
    - Point

Test
----

[](#test)

```
composer test
composer test-cover # with coverage
```

###  Health Score

57

—

FairBetter than 98% of packages

Maintenance60

Regular maintenance activity

Popularity33

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity96

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 99.1% 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 ~20 days

Recently: every ~48 days

Total

124

Last Release

294d ago

Major Versions

v2.14.0 → v3.0.02021-01-26

v3.1.1 → v4.0.02021-04-28

v4.28.1 → v5.0.02024-12-25

v4.29.0 → v5.1.22025-01-15

v4.x-dev → v5.1.32025-07-28

PHP version history (8 changes)1.0.0PHP &gt;=7.1

v1.x-devPHP &gt;=7.2

v3.0.0PHP ^7.4|^8.0

v4.0.0PHP ^8.0

v4.13.0PHP ^8.0|^8.1

v4.17.0PHP ^8.1|^8.2

v4.26.0PHP ^8.1|^8.2|^8.3

v5.0.0PHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/62a6e061d1ccab4d5de8dcba717b7634f91e4842b32ca26420b8261c66104bf7?d=identicon)[efureev](/maintainers/efureev)

---

Top Contributors

[![efureev](https://avatars.githubusercontent.com/u/5524684?v=4)](https://github.com/efureev "efureev (214 commits)")[![codacy-badger](https://avatars.githubusercontent.com/u/23704769?v=4)](https://github.com/codacy-badger "codacy-badger (1 commits)")[![silvenger](https://avatars.githubusercontent.com/u/31940335?v=4)](https://github.com/silvenger "silvenger (1 commits)")

---

Tags

exceptionshelpersinterfacesphpsupportphputilityhelperssupport

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/efureev-support/health.svg)

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

###  Alternatives

[brandonwamboldt/utilphp

util.php is a collection of useful functions and snippets that you need or could use every day, designed to avoid conflicts with existing projects

1.0k538.8k12](/packages/brandonwamboldt-utilphp)[transprime-research/piper

PHP Pipe method execution with values from chained method executions

174.6k2](/packages/transprime-research-piper)

PHPackages © 2026

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