Skip to content

Regex-based PHP code formatter (beautifier) for Adobe Brackets. No extra configuration need, no PHP server required

License

Notifications You must be signed in to change notification settings

OSS-Enthusiasts/brackets-php-beautify

Repository files navigation

Brackets PHP Beautify

All Contributors

Node CI Tests first-timers-only

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

Brackets Context Menu

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

License

Apache-2.0

Contributions

Contributions and suggestions are very welcome and wanted. We try to respond to pull requests within 48 hours. For more information see CONTRIBUTING.md.

Contributors ✨

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!

About

Regex-based PHP code formatter (beautifier) for Adobe Brackets. No extra configuration need, no PHP server required

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •