dev-master
9999999-devWhatthewhat clonse for PHP
MIT
The Requires
- php >=5.3.2
- aura/cli 2.*@dev
by Thomas Shone
Wallogit.com
2017 © Pedro Peláez
Whatthewhat clonse for PHP
A PHP clone of WhatTheWhat., (*2)
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., (*3)
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., (*4)
Via Composer, (*5)
``` json { "require": { "xsist10/wtw": "~1.0" } }, (*6)
Direct Download ``` bash wget https://github.com/xsist10/wtw/raw/master/wtw.phar wget https://github.com/xsist10/wtw/raw/master/wtw-inline.phar
``` bash $ ./wtw.phar script.php $ ./wtw-inline.phar script.php, (*7)
Change the search engine ``` bash $ ./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 ``` bash $ ./wtw-inline.phar script.php -s, (*8)
Catch warnings ``` bash $ ./wtw-inline.phar script.php -w
Catch deprecated notices ``` bash $ ./wtw-inline.phar script.php -d, (*9)
## Testing ``` bash $ phpunit
Please see CONTRIBUTING for details., (*10)
The MIT License (MIT). Please see License File for more information., (*11)
Whatthewhat clonse for PHP
MIT