PHPackages                             xsist10/wtw - 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. xsist10/wtw

ActiveLibrary

xsist10/wtw
===========

Whatthewhat clonse for PHP

106PHP

Since Feb 19Pushed 12y ago1 watchersCompare

[ Source](https://github.com/xsist10/wtw)[ Packagist](https://packagist.org/packages/xsist10/wtw)[ RSS](/packages/xsist10-wtw/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

WhatTheWhat PHP clone
=====================

[](#whatthewhat-php-clone)

[![Build Status](https://camo.githubusercontent.com/0da4ab1be043cb40c444676fcfe4a08dcce5b8700c4fe628ed466b7e90f1318e/68747470733a2f2f7472617669732d63692e6f72672f787369737431302f7774772e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/xsist10/wtw)

A PHP clone of [WhatTheWhat](https://github.com/dhellmann/whatthewhat).

Flavours
========

[](#flavours)

Inline
------

[](#inline)

This script loads the WhatTheWhat checker inline with your code so you can set levels on what kind of errors you're looking for. This can cause problems with code conflicts or autoloading issues.

Dump
----

[](#dump)

This script takes the standard error of the script and checks that. No chance of code conflicts but does not have the refined control of the inline version.

Getting Started
===============

[](#getting-started)

Install
-------

[](#install)

Via Composer

```
{
    "require": {
        "xsist10/wtw": "~1.0"
    }
}
```

Direct Download

```
wget https://github.com/xsist10/wtw/raw/master/wtw.phar
wget https://github.com/xsist10/wtw/raw/master/wtw-inline.phar
```

Usage
-----

[](#usage)

```
$ ./wtw.phar script.php
$ ./wtw-inline.phar script.php
```

Change the search engine

```
$ ./wtw.phar script.php --search=StackOverflow
$ ./wtw.phar script.php --search=DuckDuckGo

$ ./wtw-inline.phar script.php --search=StackOverflow
$ ./wtw-inline.phar script.php --search=DuckDuckGo
```

Catch strict messages

```
$ ./wtw-inline.phar script.php -s
```

Catch warnings

```
$ ./wtw-inline.phar script.php -w
```

Catch deprecated notices

```
$ ./wtw-inline.phar script.php -d
```

Testing
-------

[](#testing)

```
$ phpunit
```

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

[](#contributing)

Please see [CONTRIBUTING](https://github.com/xsist10/wtw/blob/master/CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Thomas Shone](https://github.com/xsist10)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/xsist10/wtw/blob/master/LICENSE) for more information.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/415488?v=4)[Thomas Shone](/maintainers/xsist10)[@xsist10](https://github.com/xsist10)

---

Top Contributors

[![xsist10](https://avatars.githubusercontent.com/u/415488?v=4)](https://github.com/xsist10 "xsist10 (5 commits)")

### Embed Badge

![Health badge](/badges/xsist10-wtw/health.svg)

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

PHPackages © 2026

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