PHPackages                             polyfills/array-find - 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. polyfills/array-find

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

polyfills/array-find
====================

PHP: Provides a user-land polyfill for `array\_find`, `array\_find\_key`, `array\_any` and `array\_all` functions added in PHP 8.4.

v1.0.0(1y ago)968.5k↓31.4%MITPHPPHP ^7.0 || ^8.0

Since Jun 1Pushed 1y ago2 watchersCompare

[ Source](https://github.com/PHP-Polyfills/array-find)[ Packagist](https://packagist.org/packages/polyfills/array-find)[ Docs](https://php.watch/versions/8.4/array_find-array_find_key-array_any-array_all)[ RSS](/packages/polyfills-array-find/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

`array_find`, `array_find_key`, `array_any` and `array_all` polyfills
=====================================================================

[](#array_find-array_find_key-array_any-and-array_all-polyfills)

[![Latest Stable Version](https://camo.githubusercontent.com/f332328f02e22b287f64c94f875dda8b0198ae2b76bad0406ca658ba40d245d8/68747470733a2f2f706f7365722e707567782e6f72672f706f6c7966696c6c732f61727261792d66696e642f76)](https://packagist.org/packages/polyfills/array-find) [![License](https://camo.githubusercontent.com/c8a2fb654f572dd59fe005178a7ca432de904843948560373a8a37061b56bb30/68747470733a2f2f706f7365722e707567782e6f72672f706f6c7966696c6c732f61727261792d66696e642f6c6963656e7365)](https://packagist.org/packages/polyfills/array-find) [![PHP Version Require](https://camo.githubusercontent.com/86ce8997e5180fa28cb63e6b7fab0fe7eeff53e49de43f362ed47d3756c89198/68747470733a2f2f706f7365722e707567782e6f72672f706f6c7966696c6c732f61727261792d66696e642f726571756972652f706870)](https://packagist.org/packages/polyfills/array-find)

Provides user-land PHP polyfills for the `array_find`, `array_find_key`, `array_any` and `array_all` functions added in PHP 8.4.

Requires PHP 7.1 or later. Not supported on PHP 8.4 because these functions are natively implemented in PHP 8.4.

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

[](#installation)

```
composer require polyfills/array-find
```

Usage
-----

[](#usage)

Simply use the `array_find`, `array_find_key`, `array_any` and `array_all` functions as if they were declared already.

Contributions
-------------

[](#contributions)

Contributions are welcome either as a GitHub issue or a PR to this repo.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity45

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

716d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1703f88c1f225e3fadff28458e81328f86668d9631a8c489f45ea1aaebe12df2?d=identicon)[Ayesh](/maintainers/Ayesh)

---

Top Contributors

[![Ayesh](https://avatars.githubusercontent.com/u/811553?v=4)](https://github.com/Ayesh "Ayesh (5 commits)")

---

Tags

compatphpphp-polyfillphp8php84polyfillscompatibilitypolyfillshimpolyfillscompatphp84phpwatch

### Embed Badge

![Health badge](/badges/polyfills-array-find/health.svg)

```
[![Health](https://phpackages.com/badges/polyfills-array-find/health.svg)](https://phpackages.com/packages/polyfills-array-find)
```

###  Alternatives

[symfony/polyfill-mbstring

Symfony polyfill for the Mbstring extension

7.8k1.2B515](/packages/symfony-polyfill-mbstring)[symfony/polyfill-php72

Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions

4.7k674.7M31](/packages/symfony-polyfill-php72)[symfony/polyfill-util

Symfony utilities for portability of PHP codes

1.3k123.9M7](/packages/symfony-polyfill-util)[symfony/polyfill-intl-idn

Symfony polyfill for intl's idn\_to\_ascii and idn\_to\_utf8 functions

3.4k774.6M90](/packages/symfony-polyfill-intl-idn)[symfony/polyfill-intl-normalizer

Symfony polyfill for intl's Normalizer class and related functions

2.1k830.2M36](/packages/symfony-polyfill-intl-normalizer)[symfony/polyfill-php73

Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions

2.4k581.8M67](/packages/symfony-polyfill-php73)

PHPackages © 2026

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