php_Beautifier格式化你的PHP代码

秦锐
2023-12-01

步骤:

pear config-set preferred_state beta
pear install PHP_Beautifier


使用步骤:
Beautify all the files and send the output to one file

php_beautifier -r "*.php" all_files.txt
Beautify all files and recreate the dir structure on ./myprogram-beautified/

php_beautifier -r "*.php" ./myprogram-beautified/

 类似资料: