Cleanup PHP / HTML Pages

Does anyone know of a good tool that cleans files using php and html? I used to use Tidy, but it does not do a good job of leaving the PHP code alone. I know that there are various options for accuracy, but does any tool control the champion specifically for pages with html and php?

+3
source share
6 answers

Cleaning up your code begins with the PHP branch of HTML!

+1
source

As far as I know, Tidi is the "reigning champion" when she comes to clear the html code. The only tool I personally used to clean up the code is in Adobe Dreamweaver.

0
source

HTML PHP-. , , - . HTML PHP-. HTML include 'html_code_1.php';. , Tidy HTML , PHP-.

0

, , , , , , , . , Code Igniter, PHP, MVC HTML PHP. , , HTML PHP .

0
0

I know this is a rather old question, but still valid. I am currently using this and it seems to be doing a decent job: PHP Formatter

For HTML, CSS, and JS, DirtyMarkup is a handy tool. The only drawback is that you need to copy and paste the code twice.

0
source

Source: https://habr.com/ru/post/1709870/


All Articles