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

ActiveLibrary

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

The bunch of functions extending the PHP standard library.

v1.0.0(4y ago)01.4k—0%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 1mo 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

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity56

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

1824d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/713792f971f1f5ac1719a94df2e9340e44e09b01ae8bd2987ca9b5a3a177a485?d=identicon)[able](/maintainers/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.

2994.3M14](/packages/vaimo-composer-patches)

PHPackages © 2026

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