PHPackages                             mnpenner/ptilz - 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. mnpenner/ptilz

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

mnpenner/ptilz
==============

PHP utilities

v0.8.0(6mo ago)022.6k↓25%MITPHPPHP ^8.1CI passing

Since Jul 18Pushed 3mo ago1 watchersCompare

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

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

Ptilz
=====

[](#ptilz)

A collection of general-purpose PHP utility methods.

Ptilz is currently pre-1.0 and as such should be considered to have an unstable API. However, it is used in a few production projects now, so I will try not to release any breaking changes -- particularly anything with a unit test should be stable. However, I will likely delete any deprecated methods before releasing 1.0.

Most methods should work on Windows, Ubuntu and FreeBSD.

I aim to provide full test coverage of every function, but I'm not quite there yet.

Most functions have doc-comments; read them! If usage still isn't clear check out the unit tests in the `tests/` folder.

Install
-------

[](#install)

```
composer require mnpenner/ptilz
```

Find on [Packagist](https://packagist.org/packages/mnpenner/ptilz).

Issues
------

[](#issues)

Please report them on [the issue tracker](https://github.com/mnpenner/ptilz/issues).

Contributing
------------

[](#contributing)

Please open a ticket and just paste in the code you wanted, preferably with a few unit tests too. I will add it in if I think it makes sense.

License
-------

[](#license)

Released under [the MIT license](http://opensource.org/licenses/mit-license.html).

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance73

Regular maintenance activity

Popularity25

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 99.7% 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

Every ~294 days

Recently: every ~485 days

Total

15

Last Release

204d ago

PHP version history (4 changes)v0.1.2PHP &gt;=5.5

v0.4.0PHP &gt;=5.6

v0.7.0PHP &gt;=7.1

v0.8.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/e92b1d25b3e2bd916e1f51d54a032a6c9098110d343ed171e0d221cd2fde2b94?d=identicon)[mnpenner](/maintainers/mnpenner)

---

Top Contributors

[![mnpenner](https://avatars.githubusercontent.com/u/1112998?v=4)](https://github.com/mnpenner "mnpenner (322 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mnpenner-ptilz/health.svg)

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

###  Alternatives

[adityadees/laravel-google-bard

A Laravel Package for Google Bard AI Chatbot

1711.2k](/packages/adityadees-laravel-google-bard)

PHPackages © 2026

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