Simple install-and-use code formatter (beautifier) PHP in Brackets that works right out the box.
- No extra configuration need,
- No need to set location for PHP Binary
BEFORE
<?php
for($i = 0; $i < 10; $i++)
{
if($i%2==0)
{
echo "Flipflop";
}
}
AFTER
<?php
for ( $i = 0; $i < 10; $i++ ) {
if ( $i%2 == 0 ) {
echo 'Flipflop';
}
}
This is an adaptation of php-formatter by @chuaple
Apache-2.0
Contributions and suggestions are very welcome and wanted. We try to respond to pull requests within 48 hours. For more information see CONTRIBUTING.md.
Thanks goes to these wonderful people (emoji key):
Shankhanil Ghosh 💻 |
Dan Chif 💻 |
Mehmet Cimen 📖 |
This project follows the all-contributors specification. Contributions of any kind welcome!