PHPackages                             rquadling/polyfiller - 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. rquadling/polyfiller

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

rquadling/polyfiller
====================

A set of polyfillers for strings, arrays, etc. used by RQuadling's various projects

v2.0.0(5y ago)0248[1 PRs](https://github.com/rquadling/polyfiller/pulls)1PHPPHP ^7.4

Since Dec 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/rquadling/polyfiller)[ Packagist](https://packagist.org/packages/rquadling/polyfiller)[ RSS](/packages/rquadling-polyfiller/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (4)Dependencies (3)Versions (6)Used By (1)

RQuadling/Polyfiller
====================

[](#rquadlingpolyfiller)

[![Build Status](https://camo.githubusercontent.com/b7315a50c21f55998c0665aedab55ee34937f9524d0a4fb0c8eecefc69c6105d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f72717561646c696e672f706f6c7966696c6c65722e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d747261766973)](https://travis-ci.org/rquadling/polyfiller)[![Code Coverage](https://camo.githubusercontent.com/63fa7c52ee2e4e81e3d01feed930ebaaf3f41cc59212e245292aba52744c678f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f72717561646c696e672f706f6c7966696c6c65722e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d7363727574696e697a6572)](https://scrutinizer-ci.com/g/rquadling/polyfiller/)[![GitHub issues](https://camo.githubusercontent.com/5356cbc53e6e972a6332cd5e8c2ff3e71271588a38edf779685f93fb1a93915c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f72717561646c696e672f706f6c7966696c6c65722e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d676974687562)](https://github.com/rquadling/polyfiller/issues)

[![PHP Version](https://camo.githubusercontent.com/859986a692bc6846dc0cad8cf3045bf610c860ced70848ca8d7c0ed49caeb6d4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f72717561646c696e672f706f6c7966696c6c65722e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/rquadling/polyfiller)[![Stable Version](https://camo.githubusercontent.com/cc7bc28346334c30b9f77b34d9015279a729c79151c270beaef6a586d7c8101c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72717561646c696e672f706f6c7966696c6c65722e7376673f7374796c653d666f722d7468652d6261646765266c6162656c3d4c6174657374)](https://packagist.org/packages/rquadling/polyfiller)

[![Total Downloads](https://camo.githubusercontent.com/013160e035cb5d6abff7e013eea51ae690923fa149b1c5c40f22ffb03b241eeb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72717561646c696e672f706f6c7966696c6c65722e7376673f7374796c653d666f722d7468652d6261646765266c6162656c3d546f74616c2b646f776e6c6f616473)](https://packagist.org/packages/rquadling/polyfiller)[![Monthly Downloads](https://camo.githubusercontent.com/4850c0e005bd35f9f9ba3068c5066b0d3146d85a17887b63f0bc78375c3ee0e8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f72717561646c696e672f706f6c7966696c6c65722e7376673f7374796c653d666f722d7468652d6261646765266c6162656c3d4d6f6e74686c792b646f776e6c6f616473)](https://packagist.org/packages/rquadling/polyfiller)[![Daily Downloads](https://camo.githubusercontent.com/b36bb95b6c5ecaf517d74f44f73e901ca85b2790669b6b9bd9931ce98994d097/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64642f72717561646c696e672f706f6c7966696c6c65722e7376673f7374796c653d666f722d7468652d6261646765266c6162656c3d4461696c792b646f776e6c6f616473)](https://packagist.org/packages/rquadling/polyfiller)

A set of polyfillers for strings, arrays, etc. used by RQuadling's various projects

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

[](#installation)

Using Composer:

```
composer require rquadling/polyfiller
```

Polyfillers
===========

[](#polyfillers)

1. Arrays
    1. `array_filter_keys` - Filters elements of an array using a callback function, based upon the key.
    2. `array_get` - Returns the requested value from an array based upon the key or the default value if the key does not exist.
    3. `array_to_table` - Convert an array that fits a database result set into a plain text table.
2. Classes
    1. `class_uses_recursive` - Returns all traits used by a class, its parent classes and trait of their traits.
    2. `trait_uses_recursive` - Returns all traits used by a trait and its traits.
3. Strings
    1. `mb_str_pad` - Multibyte String Pad.
    2. `str_to_kebab_case` - Convert a string to kebab case.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

4

Last Release

2149d ago

Major Versions

v1.1.0 → v2.0.02020-06-28

PHP version history (2 changes)v1.0.1PHP ^7

v2.0.0PHP ^7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/4c385f24d4f13c86b9c3e54c61b2532189c1ffb3099a8e63738fd75de90b20ba?d=identicon)[RQuadling](/maintainers/RQuadling)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/rquadling-polyfiller/health.svg)

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

PHPackages © 2026

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