@shakedko
IF AN EXPERT SAYS IT CAN'T BE DONE GET ANOTHER EXPERT.
- DAVID BEN-GURION

Sublime Text 3 PHP Tools Plugin

A while ago I have started to code in Go.

I will spare most of my opinions about Go for now beside one, Go fmt.

Go contains a built in package which formats Go's code automatically. This in my personal opinion saves a lot of time as developers are busy with real programming and logic issues instead of arguing either the curly braces should be on the same line or in a new line.

After coding for a while in Go, I had to write some PHP code and I have noticed that I really miss a PHP code formatter. This problem was actually solved by a friend and a colleague which is working on a new tool called php.tools.

When I have started to use php.tools I figured that it would be great to integrate it into Sublime Text same as GoSublime does, which beside doing a lot of great things, it actually formats the Go code on save using Go fmt.

So I have wrote a Sublime Text plugin for php.tools which is also available on Github.

The plugin is available via Sublime Text package manager.

If you have an idea, you are welcome to contribute!

Shaked.

UPDATE(03 Dec 2014): The PHPTools plugin is now available at:

https://github.com/dericofilho/sublime-phpfmt.

/END