PHPackages                             lion/helpers - 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. lion/helpers

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

lion/helpers
============

Easy-to-use helpers for handling chains or arrangements.

v6.1.2(1mo ago)14.7k1MITPHPPHP &gt;=8.5CI passing

Since Dec 9Pushed 2w ago1 watchersCompare

[ Source](https://github.com/Lion-Packages/helpers)[ Packagist](https://packagist.org/packages/lion/helpers)[ RSS](/packages/lion-helpers/feed)WikiDiscussions 6.x Synced 3w ago

READMEChangelog (10)Dependencies (12)Versions (39)Used By (1)

[![presentation-lion-packages](https://private-user-images.githubusercontent.com/56183278/529820509-f0bb6e9f-f8fe-4817-914a-b03c4e54041f.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODA3NzU5OTMsIm5iZiI6MTc4MDc3NTY5MywicGF0aCI6Ii81NjE4MzI3OC81Mjk4MjA1MDktZjBiYjZlOWYtZjhmZS00ODE3LTkxNGEtYjAzYzRlNTQwNDFmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjA2VDE5NTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU5YzZkNzAwMDljMzA0ZTYzMWU5NWUyZDVmNTA3NTcxZWVmZGJiOTFlZDZiNzc4YTFhZWI3YzYyZGJkZGNmYzMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.Z4jGQDTixLgRZSP2G3lqqBonIMU-qkcKQ5ZT3ZSwJoM)](https://private-user-images.githubusercontent.com/56183278/529820509-f0bb6e9f-f8fe-4817-914a-b03c4e54041f.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODA3NzU5OTMsIm5iZiI6MTc4MDc3NTY5MywicGF0aCI6Ii81NjE4MzI3OC81Mjk4MjA1MDktZjBiYjZlOWYtZjhmZS00ODE3LTkxNGEtYjAzYzRlNTQwNDFmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjA2VDE5NTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU5YzZkNzAwMDljMzA0ZTYzMWU5NWUyZDVmNTA3NTcxZWVmZGJiOTFlZDZiNzc4YTFhZWI3YzYyZGJkZGNmYzMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.Z4jGQDTixLgRZSP2G3lqqBonIMU-qkcKQ5ZT3ZSwJoM) [ ![Latest Stable Version](https://camo.githubusercontent.com/841a99512be02e0762d5afe1ddcc7431d13327a07b255aae5c9737cc61c1651e/68747470733a2f2f706f7365722e707567782e6f72672f6c696f6e2f68656c706572732f76) ](https://packagist.org/packages/lion/helpers) [ ![Total Downloads](https://camo.githubusercontent.com/fa5f64b8ed25c75293f4f523861e411a8559c7fc5d61b910debb9a15f0da4c20/68747470733a2f2f706f7365722e707567782e6f72672f6c696f6e2f68656c706572732f646f776e6c6f616473) ](https://packagist.org/packages/lion/helpers) [ ![License](https://camo.githubusercontent.com/409c4f171ee1a549b44bb61f70e3679885d1a6cad4e8476128be7e4e1d5c8d87/68747470733a2f2f706f7365722e707567782e6f72672f6c696f6e2f68656c706572732f6c6963656e7365) ](https://github.com/lion-packages/helpers/blob/main/LICENSE) [ ![PHP Version Require](https://camo.githubusercontent.com/91ce3c50abe2df55612e122609e6b3c601fd818c26f6aecab989a013e73f8ad4/68747470733a2f2f706f7365722e707567782e6f72672f6c696f6e2f68656c706572732f726571756972652f706870) ](https://www.php.net/)

🚀 **Lion-Helpers** Library created to use helpers for strings and arrays.

---

📖 Features
----------

[](#-features)

✔️ Modify and construct arrays with different indices or values.
✔️ Modify and construct strings with different formats.

---

📦 Installation
--------------

[](#-installation)

Install the helpers using **Composer**:

```
composer require lion/helpers
```

📝 License
---------

[](#-license)

The **helpers** is open-sourced software licensed under the [MIT License](https://github.com/lion-packages/helpers/blob/main/LICENSE).

###  Health Score

56

—

FairBetter than 97% of packages

Maintenance95

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 77.2% 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 ~35 days

Total

37

Last Release

36d ago

Major Versions

1.x-dev → v2.0.02022-12-11

2.x-dev → v3.0.02023-12-15

3.x-dev → v4.0.02024-06-29

4.x-dev → v5.0.02024-12-08

5.x-dev → v6.0.02025-12-23

PHP version history (5 changes)v1.0.0PHP &gt;=8.1

v3.0.0PHP &gt;=8.2

v4.0.0PHP &gt;=8.3

v5.0.0PHP &gt;=8.4

v6.0.0PHP &gt;=8.5

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/139179826?v=4)[Lion-Packages](/maintainers/lion-packages)[@lion-packages](https://github.com/lion-packages)

---

Top Contributors

[![Sleon4](https://avatars.githubusercontent.com/u/56183278?v=4)](https://github.com/Sleon4 "Sleon4 (112 commits)")[![GabrielPalac](https://avatars.githubusercontent.com/u/162063476?v=4)](https://github.com/GabrielPalac "GabrielPalac (11 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")[![mcesmeralda](https://avatars.githubusercontent.com/u/96641807?v=4)](https://github.com/mcesmeralda "mcesmeralda (5 commits)")[![LeinadAlberto](https://avatars.githubusercontent.com/u/127895160?v=4)](https://github.com/LeinadAlberto "LeinadAlberto (3 commits)")[![jerezjustin](https://avatars.githubusercontent.com/u/132396080?v=4)](https://github.com/jerezjustin "jerezjustin (3 commits)")[![MMarioLP](https://avatars.githubusercontent.com/u/105904645?v=4)](https://github.com/MMarioLP "MMarioLP (2 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")

---

Tags

arrayphpstring

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/lion-helpers/health.svg)

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

###  Alternatives

[ju1ius/webpack-assets-bundle

Integrates Webpack into Symfony2

1461.8k](/packages/ju1ius-webpack-assets-bundle)[cocur/domain

Check domain name availability and WHOIS

691.3k](/packages/cocur-domain)

PHPackages © 2026

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