PHP utilities

v0.7.0 2021-08-28 00:55 UTC

This package is auto-updated.

Last update: 2024-01-28 05:59:21 UTC


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.


composer require mnpenner/ptilz

Find on Packagist.


Please report them on the issue tracker.


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.


Released under the MIT license.