Command line formatting for PHP and Javascript

Are there any command line tools (not interactive, not websites) that will format (pretty-print) PHP and Javascript code?

+2
source share
2 answers

For the PHP constructor, you can also use this PHP_Beautyfier pear package , which can be called from the command line or created in your own PHP code. Instead of Javascript, find an open discussion here

+4
source

, , JavaScript , JavaScript. - 5 , YMMV.

!
Shonzilla

+2

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


All Articles