PHPackages                             able/fixes - 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. able/fixes

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

able/fixes
==========

The bunch of functions extending the PHP standard library.

v1.0.0(5y ago)01.4k↓91.7%2MITPHPPHP &gt;=8.0.0

Since May 11Pushed 4y ago1 watchersCompare

[ Source](https://github.com/phpable/fixes)[ Packagist](https://packagist.org/packages/able/fixes)[ RSS](/packages/able-fixes/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (2)Used By (2)

Introduction
------------

[](#introduction)

The bunch of functions extending the PHP standard library.

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

[](#requirements)

- PHP &gt;= 8.0.0

Install
-------

[](#install)

There's a simple way to install `able/fixes` into your project via [Composer](http://getcomposer.org):

```
composer require able/fixes
```

The list of function
--------------------

[](#the-list-of-function)

#### PCRE functions

[](#pcre-functions)

- preg\_count

Takes two arguments and returns the count of matches found by a pattern. The behavior is identical to the standard `preg_replace` function.

Declaration:

```
function preg_count(string $pattern, string $subject): int

```

Example:

```
$count = preg_count('/%[^%]/', '|%s|%s|%%|');
echo  $count;

// 2
```

#### Array functions

[](#array-functions)

- array\_merge\_recursive\_distinct(array $Original, array $Source): array

#### Filesystem functions

[](#filesystem-functions)

- file\_purge(string $filename, int $flags = 0, $context = null): false|int

License
-------

[](#license)

This package is released under the [MIT license](https://github.com/phpable/fixes/blob/master/LICENSE).

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity57

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

1869d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/352296?v=4)[able](/maintainers/able)[@able](https://github.com/able)

---

Top Contributors

[![hacpaka](https://avatars.githubusercontent.com/u/8544673?v=4)](https://github.com/hacpaka "hacpaka (2 commits)")

---

Tags

Fixesphpable

### Embed Badge

![Health badge](/badges/able-fixes/health.svg)

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

###  Alternatives

[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.

3014.5M22](/packages/vaimo-composer-patches)

PHPackages © 2026

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