PHPackages                             pawel-brzezinski/overlay-component - 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. pawel-brzezinski/overlay-component

ActiveLibrary

pawel-brzezinski/overlay-component
==================================

Component with overlays for standard PHP function. Helpful at developing a testable code.

1.0.0(7y ago)01.2k↓100%1MITPHPPHP ^5.5 || ^7.0

Since Jan 17Pushed 7y agoCompare

[ Source](https://github.com/pawel-brzezinski/overlay-component)[ Packagist](https://packagist.org/packages/pawel-brzezinski/overlay-component)[ RSS](/packages/pawel-brzezinski-overlay-component/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (1)

Overlay Component
=================

[](#overlay-component)

This component provides the classes that are the overlays for PHP objects and functions. It is very helpful in developing testable code as you can mock these objects and functions.

Supported objects
-----------------

[](#supported-objects)

- [DateTime](https://secure.php.net/manual/en/class.datetime.php)
- [DOMDocument](https://secure.php.net/manual/en/class.domdocument.php)

Supported functions
-------------------

[](#supported-functions)

- [file\_get\_contents](https://secure.php.net/manual/en/function.file-get-contents.php)
- [json\_decode](https://secure.php.net/manual/en/function.json-decode.php)
- [json\_encode](https://secure.php.net/manual/en/function.json-encode.php)
- [rand](https://secure.php.net/manual/en/function.rand.php)

Tests
-----

[](#tests)

Overlay classes are not testable.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

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

2670d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1fd10740e3d49fb13297f621180b9f2ea968954f97971ad8e2f38dae9dc683ad?d=identicon)[murgrabia](/maintainers/murgrabia)

---

Top Contributors

[![pawel-brzezinski](https://avatars.githubusercontent.com/u/27571847?v=4)](https://github.com/pawel-brzezinski "pawel-brzezinski (7 commits)")

### Embed Badge

![Health badge](/badges/pawel-brzezinski-overlay-component/health.svg)

```
[![Health](https://phpackages.com/badges/pawel-brzezinski-overlay-component/health.svg)](https://phpackages.com/packages/pawel-brzezinski-overlay-component)
```

PHPackages © 2026

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