PHPackages                             vkcom/kphp-polyfills - 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. vkcom/kphp-polyfills

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

vkcom/kphp-polyfills
====================

PHP implementations of functions supported by KPHP natively

v1.0.43(1y ago)163.3k5[2 issues](https://github.com/VKCOM/kphp-polyfills/issues)[6 PRs](https://github.com/VKCOM/kphp-polyfills/pulls)7GPL-3.0-or-laterPHP

Since Nov 9Pushed 3mo ago8 watchersCompare

[ Source](https://github.com/VKCOM/kphp-polyfills)[ Packagist](https://packagist.org/packages/vkcom/kphp-polyfills)[ RSS](/packages/vkcom-kphp-polyfills/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (1)Versions (53)Used By (7)

kphp-polyfills
==============

[](#kphp-polyfills)

**Polyfills** are PHP implementations of functions supported by KPHP natively.
Without polyfills, your code can be compiled, but can't be run by plain PHP.

How to install and use this package
-----------------------------------

[](#how-to-install-and-use-this-package)

- Run `composer require vkcom/kphp-polyfills`
- If it's your first installed package, call composer autoload:

```
require_once '.../vendor/autoload.php';
```

- You are done! All KPHP functions would work on plain PHP.

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance57

Moderate activity, may be stable

Popularity27

Limited adoption so far

Community30

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor4

4 contributors hold 50%+ of commits

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

Recently: every ~75 days

Total

44

Last Release

613d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/240434d174eb40dd828dc69bf885b12f9effff2c95b3da629cdb2bfd10846ad9?d=identicon)[vk\_com](/maintainers/vk_com)

---

Top Contributors

[![tolk-vm](https://avatars.githubusercontent.com/u/67757852?v=4)](https://github.com/tolk-vm "tolk-vm (17 commits)")[![eugene536](https://avatars.githubusercontent.com/u/5980005?v=4)](https://github.com/eugene536 "eugene536 (10 commits)")[![DrDet](https://avatars.githubusercontent.com/u/28536346?v=4)](https://github.com/DrDet "DrDet (9 commits)")[![i582](https://avatars.githubusercontent.com/u/51853996?v=4)](https://github.com/i582 "i582 (6 commits)")[![troy4eg](https://avatars.githubusercontent.com/u/5376542?v=4)](https://github.com/troy4eg "troy4eg (4 commits)")[![astrophysik](https://avatars.githubusercontent.com/u/65451602?v=4)](https://github.com/astrophysik "astrophysik (4 commits)")[![whisk](https://avatars.githubusercontent.com/u/437742?v=4)](https://github.com/whisk "whisk (4 commits)")[![mkornaukhov](https://avatars.githubusercontent.com/u/66915223?v=4)](https://github.com/mkornaukhov "mkornaukhov (3 commits)")[![drdzyk](https://avatars.githubusercontent.com/u/14000874?v=4)](https://github.com/drdzyk "drdzyk (3 commits)")[![AlexK0](https://avatars.githubusercontent.com/u/2287155?v=4)](https://github.com/AlexK0 "AlexK0 (3 commits)")[![quasilyte](https://avatars.githubusercontent.com/u/6286655?v=4)](https://github.com/quasilyte "quasilyte (3 commits)")[![vkaverin](https://avatars.githubusercontent.com/u/3457402?v=4)](https://github.com/vkaverin "vkaverin (3 commits)")[![Danil42Russia](https://avatars.githubusercontent.com/u/6605618?v=4)](https://github.com/Danil42Russia "Danil42Russia (2 commits)")[![soloth](https://avatars.githubusercontent.com/u/144122424?v=4)](https://github.com/soloth "soloth (1 commits)")[![sun4es](https://avatars.githubusercontent.com/u/5435549?v=4)](https://github.com/sun4es "sun4es (1 commits)")[![hrissan](https://avatars.githubusercontent.com/u/754735?v=4)](https://github.com/hrissan "hrissan (1 commits)")[![pale-emperor](https://avatars.githubusercontent.com/u/46090986?v=4)](https://github.com/pale-emperor "pale-emperor (1 commits)")[![apolyakov](https://avatars.githubusercontent.com/u/14941391?v=4)](https://github.com/apolyakov "apolyakov (1 commits)")

---

Tags

kphp

### Embed Badge

![Health badge](/badges/vkcom-kphp-polyfills/health.svg)

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

###  Alternatives

[czdb/searcher

A PHP library for efficient IP geolocation using compact database formats.

284.4k1](/packages/czdb-searcher)

PHPackages © 2026

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