PHPackages                             webmakersjaap/wtf - 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. webmakersjaap/wtf

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

webmakersjaap/wtf
=================

The best debugging function ever. Quick, small and always usefull.

v1(5y ago)08MITPHPPHP &gt;=5.3.0

Since Mar 5Pushed 4y ago1 watchersCompare

[ Source](https://github.com/WebmakersJaap/wtf)[ Packagist](https://packagist.org/packages/webmakersjaap/wtf)[ Docs](https://jaapbroeders.com)[ RSS](/packages/webmakersjaap-wtf/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

wtf
===

[](#wtf)

[![](https://camo.githubusercontent.com/88e1dabf4d223df0950e0985948e231325fefca9fa7fe9e446cf8b1c5e9d9e47/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e)](https://camo.githubusercontent.com/88e1dabf4d223df0950e0985948e231325fefca9fa7fe9e446cf8b1c5e9d9e47/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e) [![](https://camo.githubusercontent.com/2e7335ac36e73e3008de51759b29de1f8155bdb7ade828067bd6536471d6b0c8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646570656e64656e636965732d6e6f6e652d627269676874677265656e)](https://camo.githubusercontent.com/2e7335ac36e73e3008de51759b29de1f8155bdb7ade828067bd6536471d6b0c8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646570656e64656e636965732d6e6f6e652d627269676874677265656e)

The best debugging function ever. Quick, small and always usefull.

Prints everything to browser, formatted

Multiple arguments possible of any kind

Example 1:

```
wtf('foo');
```

Prints:

```
string(3) "foo"

```

Example 2:

```
wtf(['bar'], ['foo'=>'bar']);
```

Prints:

```
Array
(
    [0] => bar
)
Array
(
    [foo] => bar
)

```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

1899d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7d8b194379b19a7275527c53f4fef7ab3739df54554e1a6d904ecb31ca6ad55e?d=identicon)[webmakersjaap](/maintainers/webmakersjaap)

---

Top Contributors

[![WebmakersJaap](https://avatars.githubusercontent.com/u/31982754?v=4)](https://github.com/WebmakersJaap "WebmakersJaap (10 commits)")

---

Tags

phputilitydebugcleansmall

### Embed Badge

![Health badge](/badges/webmakersjaap-wtf/health.svg)

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

###  Alternatives

[voku/portable-ascii

Portable ASCII library - performance optimized (ascii) string functions for php.

574401.5M117](/packages/voku-portable-ascii)[bdelespierre/underscore

Underscore.js port in PHP

6943.7k1](/packages/bdelespierre-underscore)

PHPackages © 2026

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