These are a few of the best PHP IDE’s for web developers that I have used in the past and I liked them. Of course, there are many editors available, here are just a few of the ones I tested. If you have a favorite editor that is not listed here or any extension that you find useful, I invite you to share it in the comments.
Visual Studio Code
Visual Studio Code is one of my favorite editors, free and built os open source. Visual Studio Code is developed by Microsoft for Windows, Linux, and Mac. It’s integrated with Git, has debugging, intelligent code completion, syntax highlighting and can be customized with many useful extensions.
How to install extensions in visual studio code?
Bring up the Extensions view by clicking on the Extensions icon in the Activity Bar on the side or in the View: Extensions command (Ctrl+Shift+X). Then, browse and install the extensions you need. Read more here.
Best visual studio code PHP extensions
PHP IntelliSense offer support to autocomplete on native PHP functions while you type.
Php Getter & Setter
Php Getter & Setter – fast generator of getters and setters for your PHP class properties.
Bracket Pair Colorizer
Bracket Pair Colorizer – This extension allows matching brackets to be identified with colours. Define which characters to match, and which colours to use.
PHP Namespace Resolver
PHP Namespace Resolver – PHP Namespace Resolver can import and expand your class. You can also sort your imported classes by line length or in alphabetical order.
How to use it?
Right-click on any class name and select Import Class to automatically import its namespace at the top of the file.
Press CTRL+ALT+i on Windows / CTRL+Option+i on MacOS
Notepad ++ is one of the most popular editor, that is almost impossible you never heard or used before. Notepad++ is a freesource code editor and Notepad supports several programming languages. Notepad++ is written in C++ and uses pure Win32 API and STL which ensures a higher execution speed and smaller program size. Notepad ++ is very easy to use and also supports many extensions that make it very useful.
SublimeText is one of the most appreciated free text editor, very simple and versatile, available for Mac, Windows, and Linux. Sublime Text has a powerful, Python API that allows plugins to augment built-in functionality.
Atom is a free hackable text editor, very easy to use especially if you used complicated editors like Eclipse, Sublime, etc. TextAtom helps you write code faster with a smart and flexible autocomplete. It’s highly customizable, you have the option to choose from thousands of open source packages that add new features and functionality to the editor.