8个最好的PHP工具用来分析和解析代码

cm54 9年前

1. PHP Analyser:

8个最好的PHP工具用来分析和解析代码

This analyzer tool performs similar analysis tasks that compiler likes. You can use PHP analyzer to perform interface or other flow analysis. This tool analyzes every line of code and every potential execution path as well. PHP Analyzer works in type, flow and other analyses. The output is a report that helps you improve your code and fix bugs.

2. Sabberworm:

8个最好的PHP工具用来分析和解析代码

Sabberworm is a parser for CSS files written in PHP. The tool lets developers extract CSS files in data structure and allows them to manipulate the structure and gives output file in CSS format.

3. PHP Markdown:

8个最好的PHP工具用来分析和解析代码

PHP Markdown is a library package that includes PHP Markdown Parser an PHP Markdown extra. The tool sports number of additional features too. Markdwon is a conversation tool that converts even text to HTML. The tool is very useful for web developers. You can easily write code using easy-to-read text format and then convert the tool in structured XHTML form.

4. PHP Sandbox:

8个最好的PHP工具用来分析和解析代码

It is a full-scale class that uses PHP-Parser to prevent sandboxed code from running unsafe code. The tool uses Function-Pareser to disassemble colorless. PHP can callable the sandboxes without converting to strings.

5. PHPCheckStyle:

8个最好的PHP工具用来分析和解析代码

This open source tool helps PHP developers to stick to coding conventions. This tool checks the input PHP source code and reports the violations against standards. PHPCheckstyle is very useful tool to get introduced to PHP testing and analysis.

6. Parsedown:

8个最好的PHP工具用来分析和解析代码

Parsedown is a Markdown parser built with PHP to include your apps in the code. The tool is fast and consistent. Parsedown has been moved to GitHub. The tool offers Markdown Extra extension with extra premium features.

7. PHPCPD:

8个最好的PHP工具用来分析和解析代码

PHP CPD is a Copy/Paste Detector tool for PHP. This tool comes very handy in big projects that follow old way of programming. You an easily analyze the code to avoid repetitive functions and calls. You can easily configure PHPCPD and run the test cases all over your code base.

8. PHPMD:

8个最好的PHP工具用来分析和解析代码

PHPMD – PHP Mess Detector is a project of PHP Depend. The tool is equivalent to well known Java analyzing tool, PMD. It is very easy to configure and user-friendly for analyzing raw metrics that PHP Depend measures. The tool searches for potential problems in your code, it also scans for bugs and suboptimal code.