This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

tsioukas
tsioukas

Can anyone suggest me a free PHP IDE (Windows) with FTP support (edit directly files from ftp) that can handle well October Markup (TWIG, PHP, HTML etc)

Thanks

daftspunky
daftspunky

Sublime Text is great

tsioukas
tsioukas

Thanks, I work with it but when I open a theme htm file with php code in the top, it doesn't recognize php. I have to set it always to read it as php (bottom right). I will look if there is a plugin to fix that.

EDIT : I was blind :), it have an option "Open all with current extention as..."

Last updated

janis.taranda18381
janis.taranda18381
janis.taranda18381

https://www.jetbrains.com/phpstorm/ also, but it's on sucky JAVA, so eats up a lot memory... and at some point crashes :D.

Last updated

Rob Ballantyne (Dynamedia)
Rob Ballantyne (Dynamedia)

Sublime is a good choice for a free editor. To be honest though, I've struggled with various IDE's over time and in the end it's just worth having better tools and going with PHPStorm. I know paying for licences is not possible for everyone but it's made me a lot more productive.

eightygrit
eightygrit

For anyone else that comes across this, there are much better solutions than changing your text editor.

In Sublime Text, the quickest solution is probably to open the .htm file and go to view > syntax > Open all with current extension as ... > PHP. That's a global fix if you normally work in October.

If you are just doing one project in October, or prefer this not to be a global setting, then just create a new file in the root of your project (same directory as your other sublime project settings) called PHP.sublime-settings. In that file, add the following: { "extensions": ["htm"] } and save. That's it!

You can do this in PHPStorm as well, but the process is different.

Last updated

gergo85

1-8 of 8

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.