CodeCanyon
CodeCanyon
Code
Code
Code
Code
Code
Code

myPHPLint

myPHPLint

myPHPLint is a very small yet versatile cli based php script that allows you to run php lint on entire sets of PHP scripts in a folder.

PHP5 provides a lint command (php -l <php file>) that can be used to check for syntax errors in a php script without running the script. However, the lint command only accepts one file as a parameter and cannot process php files in a folder as a batch.

myPHPLint is a small script that can run the php lint process on multiple folders of php scripts. Also for each folder you pass to myPHPLint, you can specify to process the folder recursively or non-recursively. If myPHPLint runs recursively, it’ll also process php files in any subfolders of the main folder.

Use the script to check an entire project folder for any syntax errors

by
by
by
by
by
by