23 Best PHP Editors and IDEs (Free and Premium)

To write high-quality PHP code, you’ll need a high-quality PHP editor that best fits your programming needs, preferences, and workflow. There are many options available in the market, and while they might look the same at first glance, each PHP editor has its unique features and optimal use cases.

In this guide, you can find the best PHP editors and IDEs that can help you edit PHP files and develop, debug, and test PHP applications.

They target different types of users from beginners who need a no-config PHP editor that works out of the box to experienced PHP programmers who want to work with a specific stack, framework, or toolkit. While most tools on this list are free of charge, I also added some premium ones that come with technical support and extra functionalities.

loads faster, has a simpler UI, and is easier to configure and set up, but still provides you with all the editing features you’ll need while coding.

However, if you are an experienced PHP programmer who builds complicated applications and has specific coding needs, a PHP IDE can be a better solution for you.

Find the perfect PHP editor for your programming needs, preferences, and workflow in this roundup ⬇️Click to Tweet

What Is a PHP Editor

Technically speaking, you could edit PHP files with a basic text editor such as the Notepad app on Windows, but it wouldn’t be an easy thing to do. The main problem is that source code files are hard to read without syntax highlighting that lets you see different code structures, such as variables, keywords, and parameters, in different colors and fonts.

Low code readability doesn’t only lead to multiple errors but also slows you down as a programmer, as it will take much more time to see through your code and figure out the next step. To edit PHP files effectively, you’ll need a source code editor that understands the PHP syntax and highlights every piece of code according to its meaning.

Although syntax highlighting is the number one feature of every PHP editor, it’s not the only one. The best PHP editors come with multiple additional functionalities that help you write and edit PHP code, make sense of the structure of your file and project, and make fewer errors. For instance, line breaks, indentation, auto-complete, different views and editing modes, code completion, search and compare functionalities, and smart code hints are such features.

In addition to these advanced editing functionalities, modern PHP editors also have capabilities that help you with other tasks such as debugging, version control, refactoring, and others.

Note that most PHP editors are not solely for editing PHP files, but they are generic text editors that come with syntax support for many other source code file types too. For example, if you have edited HTML files before and already have a go-to HTML editor, there’s a good chance it will support the PHP syntax as well and you can keep using it if you want to.

What Is a PHP IDE

IDE is an acronym that stands for Integrated Development Environment. A PHP IDE has all the syntax highlighting and other capabilities of a PHP editor, plus a lot of other features that facilitate PHP development.

The best PHP IDEs typically provide you with pre-made code templates and detailed project and class wizards, have numerous highly customizable views and panels that you can arrange however you want and come with integrated development tools, such as a built-in terminal, web server, or web browser, that you can use right inside the IDE interface. They also tightly integrate with numerous third-party tools such as debuggers (e.g. PHPUnit and Xdebug) and container and virtual machine platforms (e.g. Docker and Vagrant).

There are also cloud PHP IDEs that let you set up an advanced coding environment in the web browser and save your files into a cloud server. Cloud IDEs can also provide you with pre-built PHP stacks, for instance, a containerized LAMP (Linux, Apache, MySQL, PHP) stack that allows you to work on a live Linux server and check your work instantly in the web browser.

Although a PHP IDE comes with more features than a PHP editor, it also requires more expertise to set up and configure the environment. For example, you might need to add and configure the web server that will execute your code, define environment variables and PHP executables, and perform other advanced development tasks.

So, if you don’t want to use the extra functionalities of an IDE, the additional workload most likely isn’t worth it, even if you have the expertise to do the configurations. But, if you need such features, a PHP IDE can significantly speed up your coding, testing, debugging, and profiling (program analyzing) work.

That said, the line between PHP editors and IDEs is blurring these days. PHP editors have begun to incorporate features that could be found only in IDEs before, such as built-in debuggers and terminals, highly customizable views and panels, and others.

10 Best Free PHP Editors

Let’s start with the best free PHP editors that provide you with all the important features to read, create, and edit PHP files.

https://github.com/microsoft/vscode

  • Supported languages: PHP, HTML, CSS, SCSS, Less, JavaScript, JSON, TypeScript, Markdown, PowerShell, C++, Java, Python, Go, T-SQL, C#, .NET Core, and more
  • Visual Studio Code (VS Code in short) is a free and open source code editor by Microsoft that has gained huge popularity in recent years. It supports the PHP syntax by default, and you can download further PHP extensions from the VS Code Marketplace to make it an advanced PHP editor that suits your specific coding needs. You can customize every aspect of VS Code, from themes to key bindings to integrations and functionality.

    Best features:

    • syntax highlighting, autocomplete, and code navigation
    • smart code completion with IntelliSense
    • color theme picker
    • built-in Git and GitHub integration
    • built-in Emmet support
    • extensibility (you can create your own extension)
    • linting, debugging, refactoring
    • integrated terminal
    • live share for pair programming (with extension)

    2. Atom

    Atom

    Atom

    • Supported operating systems: Windows, Linux, macOS, FreeBSD
    • License: MIT License
    • Source code: https://github.com/atom/atom
    • Supported languages: PHP, HTML, CSS, JavaScript, Java, C, C#, Objective C, Perl, Python, Ruby, Go, XML, and more

    Atom is the “hackable text editor for the 21st century”, according to its slogan. Originally, it was GitHub’s internal tool that later they made open source, but the project is still maintained by GitHub. It’s called hackable because you can customize every single aspect of the editor interface, such as the UI and syntax theme, key bindings, formatting, global and language-specific settings, and more.

    In addition to the functionality of the core editor, you can download almost 9,000 packages that allow you to add basically any feature you need. To configure Atom as a PHP editor, you can add PHP-specific packages for debugging, refactoring, annotations, linting, and other development-related tasks.

    Best features:

    • customizable UI with 3,000+ open source Atom themes
    • syntax highlighting and smart autocompletion
    • file system browsing and multiple panes
    • advanced find and replace tool
    • integrated package manager (called apm)
    • easy-to-access command palette
    • extensibility
    • real-time code collaboration (with the in-house-built Teletype package)
    • direct Git and GitHub integration (with the in-house-built GitHub package)

    3. Brackets

    Brackets

    Brackets

    • Supported operating systems: Windows, Linux, macOS
    • License: MIT License
    • Source code: https://github.com/adobe/brackets
    • Supported languages: HTML, CSS, LESS, SCSS, Sass, JavaScript, PHP, Java, Python, Perl, Ruby, C, C++, VBScript, and more

    Brackets is an open source code editor created and maintained by Adobe. As many of Adobe’s products, it primarily focuses on frontend development, but it supports several backend languages as well, including PHP. It has become popular for its inline editing feature for CSS that lets you see all the selectors belonging to a specific CSS rule.

    If you do both frontend and backend development, Brackets can be the ideal PHP editor for you — especially if you also work with CSS preprocessors, such as Sass and LESS. That being said, Brackets is not the most advanced PHP editor in this list, but it’s free, lightweight, and easy to use.

    Brackets has an extension registry as well, however, it doesn’t have as many extensions as Atom or Visual Studio Code.

    Best features:

    • vertical and horizontal split view
    • live preview using a real-time connection with your web browser
    • lightweight (written in JavaScript)
    • inline editing (for CSS)
    • custom themes are available via the Brackets Extension Registry
    • support for CSS preprocessors, including quick edit and live highlight functionalities

    4. GNU Emacs

    GNU Emacs

    GNU Emacs

    • Supported operating systems: Windows, Linux, macOS, FreeBSD, NetBSD, OpenBSD, Solaris
    • License: GNU GPL vs 3
    • Source code: https://git.savannah.gnu.org/cgit/emacs.git
    • Supported languages: Lisp, PHP, Python, Ruby, Java, JavaScript, Scala, Perl, and many others

    GNU Emacs is a stable and well-established code editor that has been on the market since 1985. It was primarily created for the GNU operating system, but it supports many other OSs as well. Emacs’ design and functionality are both fully customizable using the Emacs Lisp scripting language.

    Emacs supports a multitude of programming languages, including HTML and CSS, but it’s typically not used by frontend developers. This is not saying that Emacs is not recommended for you if you are looking for both a frontend and PHP editor. However, note that it has a steeper learning curve than most of the other editors in this list.

    In addition to its awesome features, using Emacs certainly has a coolness factor in the programmer community due to the expertise you need to use it, and it even appears in popular culture, such as the Tron: Legacy and Social Network movies.

    Best features:

    • content-aware editing modes
    • full Unicode-support
    • customizable both via the command line (using Emacs Lisp) and a graphical UI
    • open source package repository to extend the editor
    • built-in documentation
    • additional functionalities such as debugger UI, project planner, IRC client, calendar, and others

    5. Vim

    Vim

    Vim

    • Supported operating systems: Linux, Windows, macOS, Android, iOS
    • License: Vim License
    • Source code: https://github.com/vim/vim
    • Supported languages: PHP, Python, Ruby, Java, Lua, JavaScript, Perl, C, C++, and many others

    Vim stands for Vi Improved as it’s the improved version of the Vi code editor created for Unix systems. It adds several important features to Vi, such as comparing and merging files, syntax highlighting, search history, spell checking, split view, support for protocols such as HTTP, FTP, and SSH, and many others.

    You can use Vim in six basic modes, respectively normal, visual, select, insert, command line, and ex (exit) modes — see this article by FreeCodeCamp for the main differences between Vim modes. Vim has a text user interface that you can manage using commands and key mappings. However, if you’d rather use Vim with a graphical user interface, you can download its Gvim (Graphical Vim) version as well.

    Similar to Emacs, Vim is highly customizable and extensible and supports hundreds of programming languages. There are thousands of Vim plugins available, but you can also use Vim Script (also called VimL), Vim’s internal scripting language, or another scripting language to add extra functionality.

    Vim is a very robust tool, but if you are a beginner or code only occasionally, it’s probably not the best choice for you because of its steep learning curve. However, if you want flexibility and custom functionality and don’t mind learning, Vim can be the ideal PHP editor for you. If you want to go that route, here’s a great tutorial by The Valuable Dev blog about how to configure Vim as a PHP editor.

    Best features:

    • 6 different editing modes
    • easy mode for beginners
    • Unicode and multi-language support
    • editing functionality such as advanced search and replace, multi-level undo tree, split view, code completion, and more
    • extensive plugin system
    • built-in manual

    6. Bluefish

    Bluefish

    Bluefish

    • Supported operating systems: Linux, Windows, macOS, FreeBSD, OpenBSD, Solaris
    • License: GNU GPL vs 3
    • Source code:https://sourceforge.net/p/bluefish/code/HEAD/tree/
    • Supported languages: HTML, CSS, XML, JavaScript, PHP, SQL, Perl, Python, Ruby, Java, C, C++, and more

    Bluefish is an advanced source code editor that supports many programming languages. You can use it on different operating systems, but it also comes with a Gnome integration, so if you are on the look for a PHP editor for your Linux distro, Bluefish can be a great choice for you — its GUI is also consistent with the Gnome Human Interface Guidelines, so it even looks good on a Gnome desktop.

    As Bluefish was created with web developers in mind, it comes with useful features such as Emmet (formerly Zen Coding) support, dialogs and wizards for HTML tags, Unicode character browser, and many others. It also has an intuitive user interface and is easy to use, so you can safely choose it if you are a beginner or don’t want to put a lot of time into learning how to use a PHP editor.

    Best features:

    • lightweight, loads fast
    • multiple document interface (tested with 1000+ opened documents)
    • full-screen editing and split view
    • editing functionality such as auto-completion, inline reference information, powerful and replace, snippets sidebar, and more
    • remote file access via FTP, SFTP, HTTP, HTTPS, and other protocols
    • supports multiple encodings (default is UTF8)
    • extensible via plugins

    7. jEdit

    jEdit

    jEdit

    • Supported operating systems: Windows, macOS, Linux, BSD
    • License: GNU GPL vs 2
    • Source code: https://sourceforge.net/p/jedit/svn/HEAD/tree/
    • Supported languages: HTML, CSS, XML, JavaScript, CoffeeScript, .htaccess, PHP, SQL, Perl, Python, Java, Scala, and more

    jEdit is a cross-platform source code editor written for the Java Virtual Machine, so it runs on any operating system that has the Java runtime environment installed. Its goal is to provide programmers with an editor that can be installed and set up as fast and effortlessly as possible. jEdit has syntax highlighting modes for more than 200 programming languages.

    Even though jEdit is a stable tool, you’ll find more fancy PHP editors on this list. However, it’s still worth a try if you need an easy-to-use free PHP editor that runs out of the box. Plus, it can be a great choice, too, if you find a jEdit plugin that can help you with your work — it has some cool ones, including support for version control other than Git and project and file management tools (however, check the age of the plugins, as some haven’t been updated for many years).

    Best features:

    • unlimited undo/redo functionality
    • copy and paste via unlimited clipboards
    • any number of editor windows can be open at the same time
    • multiple and rectangular selections
    • macros can be recorded from user actions
    • supports for Unicode and 160+ character encodings
    • powerful search and replace tool
    • extensible via plugins

    8.  Notepad++

    Notepad++

    Notepad++

    • Supported operating systems: Windows
    • License: GNU GPL vs 2
    • Source code: https://github.com/notepad-plus-plus/notepad-plus-plus
    • Supported languages: HTML, CSS, XML, YAML, JavaScript, CoffeeScript, PHP, SQL, Perl, Python, C, C++, and more

    Notepad++ is an oldie but goldie source code editor for Windows operating systems. It was created as a replacement for Notepad, the default text editor that comes pre-installed with Windows operating systems. Notepad++ adds multiple features to the very basic Notepad editor, therefore it quickly became popular among developers working on Windows machines.

    It comes with syntax highlighting capabilities for almost 80 programming languages. It’s easy to install, works out of the box, and has important editing functionality such as split view, multiple document interface, undo/redo functionality, and more. So if you need a free PHP editor for Windows that’s easy to use and loads fast, Notepad++ is worth a look.

    Best features:

    • style configuration options and pre-designed themes
    • editing features such as code folding, autocompletion, intelligent code completion, syntax checking, and others
    • supports many different character sets
    • extensible via plugins
    • open source plugins are available for both 32-bit and 64-bit systems

    9. RJ TextEd

    RJ TextEd

    RJ TextEd

    • Supported operating systems: Windows
    • License: freeware but accepts donations (no particular license is specified)
    • Source code: not released
    • Supported languages: HTML, CSS, Sass, LESS, Markdown, JavaScript, JSON, PHP, ASP, Java, Perl, and more

    RJ TextEd is a one-person project by Rickard Johansson (RJ) — and a really impressive one. It’s a full-featured source code editor for Windows operating systems, created specifically for web development. Even though RJ TextEd’s website looks a bit basic, this is a text editor with many interesting features under the hood.

    You can change every aspect of the UI by choosing and customizing a theme, open multiple document views at the same time in different arrangements, and use developer-friendly tools such as a color picker, an HTML validation and repair tool, charmaps, text-to-HTML conversion, and many others. RJ TextEd also has an embedded browser preview (Chrome and Internet Explorer) for HTML files.

    The licensing of RJ TextEd is a bit unusual. Although it’s freeware software, it’s not open source, as the author doesn’t want to release the source code. However, you can still extend the functionality by creating an extension. If you have any questions to ask, RJ TextEd has an active user forum too.

    Best features:

    • HTML and CSS wizards
    • browser preview for HTML files
    • theme manager with pre-designed themes
    • built-in project manager
    • regular expression creator
    • macro manager
    • FTP/STFP client with syncing
    • editing functionality such as side-by-side file comparison, advanced sorting, code folding, auto-completion, and more

    10. TextMate

    TextMate

    TextMate

    • Supported operating systems: macOS
    • License: GNU GPL vs 3
    • Source code: https://github.com/textmate/textmate
    • Supported languages: HTML, Markdown, CSS, XML, JavaScript, PHP, SQL, Perl, Python, Java, and more

    TextMate is an advanced source code editor for the macOS operating system. As it has been designed specifically for Mac, it integrates with the underlying Unix shell, therefore you can write custom actions in any programming language that works with the Unix Standard Streams (stdin and stdout).

    To make customization easy and straightforward, TextMate utilizes an extensible bundle system. A TextMate bundle can include language syntaxes, code snippets, macros, commands, templates, workflows, and more. You can manage bundles with the help of a handy bundle editor.

    The first version of TextMate was proprietary software you had to buy a license for. However, the current version, TextMate 2.0, has been open sourced under the GPLv3+ license, so you can download it for free (however, TextMate’s license policy page mentions that they ‘may charge for updates after 2.0’). If you are looking for a (currently) free PHP editor that runs natively on Mac devices, TextMate 2 is definitely worth a look.

    Best features:

    • custom themes
    • live HTML/Markdown preview
    • powerful search tool
    • clipboard history
    • easy-to-manage code snippets
    • foldable code blocks, indented soft wrap, multiple carets, multiple tabs, and more
    • scoped settings
    • bundle editor

    4 Best Premium PHP Editors

    Even though premium PHP editors come at a price tag, most have a free trial or evaluation period, so you can give them a try without any risk. If you find a feature, integration, or plugin that you want to use or need technical support, a premium PHP editor can be a good solution for you.

    see EULA

  • Supported languages: HTML, CSS, Sass, LESS, Markdown, JavaScript, PHP, Python, Perl, Ruby, Java, and more
  • Sublime Text 3 is the third major release of the notable Sublime Text source code editor. The new version added pane management and symbol indexing to the already popular editor and improved speed issues such as slow startup time. Sublime Text 3 is fully customizable with the help of plugins — many ready-made ones are available via the editor’s package manager, but you can create your own custom one too.

    If you go with Sublime Text 3 as your PHP editor, it has many plugins available for the PHP language for things such as comment generation, linting, testing, beautifying, formatting, and others. Plus, it has some plugins for WordPress development as well that can help you a lot with writing WordPress code.

    The licensing of Sublime Text 3 is a bit weird. Even though it’s proprietary software, you can use it free of charge if you don’t mind the (frequently shown) pop-up notifications that remind you to buy the license.

    Best features:

    • customizable snippets, menus, macros, key bindings (with JSON files)
    • command palette
    • goto definitions with a project-wide index of functions, classes, and methods
    • advanced editing functionality such as split view, document map, multiple selections, auto completion, and others
    • built-in package manager
    • extensible via plugins

    2. UltraEdit

    UltraEdit

    UltraEdit

    • Supported operating systems: Windows, Linux, macOS
    • Price: $79.95/year (up to 5 installs); 30-day free trial period
    • License: see EULA
    • Supported languages: HTML, CSS, Markdown, XML, JavaScript, JSON, PHP, MySQL, Python, Perl, Ruby, C, C++, and more

    UltraEdit is a premium source code editor that has been on the market since 1994. It’s a stable and well-tested application with a user base of more than 4 million customers. UltraEdit works out of the box and features a pleasant and user-friendly onboarding experience. In addition to the customizable UI, it also comes with powerful developer features that help you work in the cloud or on a remote server, backing up files, managing projects, encrypting/decrypting files, and more.

    If you work with large files that make other code editors crash, UltraEdit can be the best PHP editor for you, as it has a huge file handling feature — one of the reasons why it’s so popular among programmers. Besides UltraEdit, the license also includes UltraCompare Pro, a powerful file comparison tool that supports many different file types and integrates with the major version control systems, including Git, Subversion, and CVS.

    Best features:

    • custom themes and layouts
    • powerful search functionality (in and across files)
    • live preview for HTML and Markdown
    • powerful command palette
    • multi-caret editing, multi selection, column mode, file comparison, configurable tab options, and more
    • support for the FTP/SFTP and SSH/Telnet protocols for remote development
    • cloud syncing
    • supports retina and other high-resolution screens

    3. Rapid PHP Editor

    Rapid PHP Editor

    Rapid PHP Editor

    • Supported operating systems: Windows
    • Price: $49.95 for non-commercial use; $69.95 for commercial use; first 30 uses are free (evaluation period)
    • License: see EULA
    • Supported languages: HTML, CSS, LESS, Sass, JavaScript, PHP, SQL, XML, Smarty, .htaccess

    Rapid PHP Editor is a commercial code editor for Windows operating systems. Even though the word ‘PHP’ is included in its name, it’s not only a PHP editor, but you can also use it to edit other file types. Rapid PHP Editor is part of a product line that features the same editor with incremental features. The main reason for this kind of setup is to keep the editor as lightweight as possible. For instance, if you need only HTML and CSS, you can use Rapid CSS Editor, but if you also need PHP support you can go with Rapid PHP Editor that’s essentially the same tool with extra functionality.

    On its homepage, Rapid PHP Editor claims to be the fastest PHP editor on the market — and it loads very quickly indeed. It’s a beginner-friendly editor with an easy-to-understand onboarding wizard that helps with initial configuration (you can also opt out if you want). During the configuration process, you can integrate Rapid PHP Editor with your local web server so that you can preview your PHP files right inside the editor.

    You can configure any aspect of Rapid PHP Editor, from design to layout to functionality. As it includes powerful features for HTML, CSS, and JavaScript, it can significantly speed up your workflow if you do both frontend and backend development. It also comes at a friendly price. You don’t have to pay for the license annually, just a one-time fee.

    Best features:

    • detailed customization options
    • built-in HTML/CSS validator
    • preview of PHP files (using your local web server)
    • real-time PHP syntax checker
    • multi-browser preview
    • PHP framework support (WordPress, Laravel, CakePHP, CodeIgniter, Symfony, Yii, Nette, Prado)
    • built-in PHP debugger (Xdebug) and PHP beautifier
    • support for the Smarty template engine
    • SVN- and Git-integration
    • can save files directly via FTP/STFP/FTPS
    • extensible via plugins

    4. Smultron

    Smultron

    Smultron

    • Supported operating systems: macOS
    • Price: $7.99 for single use license; $4.99 for upgrade license; free evaluation
    • License: see EULA
    • Supported languages: HTML, Markdown, LESS, Sass, JavaScript, CoffeeScript, PHP, XML, YAML, Swift, Go, Ruby, Java, Objective-C, and more

    Smultron is a commercial source code editor for macOS devices, with support for multiple programming languages. Its name means ‘wild strawberry’ in Swedish, as it’s being developed by a Swedish programmer Peter Borg. Like most Mac-only applications, Smultron comes with a stylish design, intuitive user interface, and fast launch time.

    It includes multiple features that you could expect from an advanced PHP editor, such as customizable design and key bindings, code snippets, split file view, file comparison functionality, HTML preview, auto-complete, and more. Smultron’s creator puts a big emphasis on privacy, so if you want a PHP editor for your Mac that doesn’t collect any data about you, Smultron is a good solution for you.

    You can download Smultron from either its website or the Mac App Store. Even though the creator charges a small fee for the license, you can download and try Smultron for free before making a purchase.

    Best features:

    • pre-designed themes
    • support for vertical text and RTL (right-to-left) languages
    • text scanning from the camera of your iPhone/iPad
    • advanced encoding settings (including support for UTF-8 BOM)
    • iCloud support
    • distraction-free mode
    • all-functions list view
    • advanced find and search functionality with support for regular expressions
    • full accessibility support

    5 Best Free PHP IDEs

    Now, let’s see the best free PHP IDEs that provide you with a professional development environment with advanced programming features and highly configurable functionality at no cost.

    Eclipse is a popular integrated development environment for the Java Virtual Machine, but it comes with support for several other programming languages as well. Eclipse PDT stands for PHP Developer Tools. It’s a plugin for the Eclipse platform, but if you don’t have Eclipse installed on your machine, you can also choose the ‘Eclipse IDE for PHP Developers’ option during installation, which automatically adds the PHP Developer Tools.

    With Eclipse PDT, you get access to Eclipse’s highly configurable user interface and you can use it together with other Eclipse plugins as well. Eclipse PDT makes common PHP-related tasks, such as debugging, profiling, testing, refactoring, and syntax checking, easier and smoother.

    You can also add your web server(s) that Eclipse will use for debugging and profiling PHP files. Eclipse PDT supports popular PHP tools, such as Xdebug, Zend Debugger, Composer, and PHPUnit, too.

    Note that in order to run Eclipse, you have to install the Java Runtime Environment (JRE) or the Java Development Kit (JDK) on your computer.

    Best features:

    • customizable UI, views, and panels
    • advanced PHP code formatting
    • PHP project and class wizard
    • pre-made code templates
    • easy code navigation and code formatting
    • support for remote projects
    • content assist, autocomplete, code navigation, and more
    • integrated web server to run PHP files
    • Git client

    2. Komodo IDE

    Komodo IDE

    Komodo IDE

    • Supported operating systems: Windows, Linux, macOS
    • License: ActiveState Community Edition License Agreement (pdf)
    • Source code: https://github.com/Komodo/KomodoEdit
    • Supported languages: HTML, CSS, JavaScript, Node.js, PHP, Python, Perl, Golang, Ruby, and more

    Komodo IDE is part of the ActiveState Platform that’s a set of advanced developer tools for open source programming languages. It’s a cross-platform IDE that includes support for PHP (besides other languages). Komodo IDE is the extended version of the Komodo Edit source code editor — you get access to all the features of Komodo Edit, plus a lot more, such as live previewing, unit testing, dependency detector, Chrome debugging, and many others.

    Even though Komodo IDE is available free of charge, it’s a commercial product. This means that you can use it for free until you are happy with community support. For professional support, you need to sign up for an ActiveState Pricing Plan that gives you access to email and chat support and private projects.

    If you don’t need the IDE features and want to edit and manage PHP files without having to deal with the extra clutter, you can opt for Komodo Edit which is an excellent free and open source PHP editor application.

    Best features:

    • auto-complete, multiple selections, minimap, change tracker, calltips, and other advanced editing features
    • code refactoring, code browser, visual debugging, regular expression toolkit, database explorer, HTTP inspector, and more
    • Docker and Vagrant integration
    • supports many version control systems (Git, Subversion, Mercurial, CVS, Perforce, and Bazaar)
    • onboarding and project wizards
    • DOM viewer
    • real-time collaboration
    • sharing via Slack
    • built-in tutorials

    3. Apache NetBeans

    Apache NetBeans

    Apache NetBeans

    • Supported operating systems: Windows, Linux, macOS, BSD
    • License: Apache License vs 2.0
    • Source code: https://github.com/apache/netbeans
    • Supported languages: HTML, CSS, Sass, LESS, JavaScript, PHP, Java, C, C++, and more

    Apache NetBeans is a free and open source IDE maintained by the Apache Software Foundation. It runs on the Java Virtual Machine (so you need to have the Java Runtime Environment installed on your computer), but it comes with extensions for multiple programming languages. Its PHP runtime provides you with a full-featured PHP IDE that allows you to run, refactor, debug, and profile PHP applications — in addition to the typical features of a PHP editor such as syntax highlighting, customizable themes and views, goto definitions, and more.

    When installing NetBeans, you can select which parts of the IDE you want to add. Currently, there are five options: Base IDE, Java SE, Java EE, HTML5/JavaScript, and PHP. You can install all of these if you want, but to use NetBeans as a PHP IDE, you’ll need the Base IDE and PHP runtimes by any means, plus you need to add the HTML5/JavaScript pack, too, if you want support for frontend languages (CSS, Sass, and LESS are also included).

    NetBeans is an incredibly user-friendly tool. It has a helpful onboarding process that includes demos and sample projects of working PHP apps: a calculator and a to-do application. Plus, if you haven’t used an IDE for PHP development yet, Netbeans has a great PHP and HTML5 Learning Trail that can help you get started.

    Best features:

    • code formatting, code folding, smart code completion, error highlighting, smart suggestions, and other advanced editing features
    • semantic code analysis
    • debugging with Xdebug
    • unit testing with PHPUnit and Selenium
    • integration with version control systems (Git, Subversion, Mercurial)
    • 1000+ plugins are available on the NetBeans Plugin Portal (130+ for PHP plus many generic ones such as themes)
    • support for PHP frameworks such as WordPress, Symfony, Zend, and Yii (find them as plugins)

    4. Eclipse Che (cloud IDE)

    Eclipse Che

    Eclipse Che

    • Supported operating systems: any (it runs in the web browser)
    • License: Eclipse Public License 2.0
    • Source code: https://github.com/eclipse/che
    • Supported languages: PHP, Java, .NET Core, ASP.NET, Go, C, C++, NodeJS, Python, Rust, Scala, and more

    Eclipse Che is a Kubernetes-native cloud IDE that allows developer teams to build applications in pre-configured, containerized workspaces. This means that you set up and configure everything you need for your project— such as dependencies, runtimes, IDE, and project code — only once, and you can run your ready-made development environment wherever you want.

    The Eclipse Che project started in 2014 as an Eclipse Cloud Development (ECD) project and can be thought of as the future of collaborative development. It was Codenvy who delivered the original codebase, but many tech giants are contributing to the project as well — such as IBM, Red Hat, Samsung, SAP, Microsoft, and Intuit, and others. The biggest things about Eclipse Che are the ability of real-time collaboration of even hundreds of developers, access to an online IDE that runs in the web browser, and easy access to container-based PHP development.

    You can either install Eclipse Che on your Kubernetes or OpenShift cluster or create an online Che workspace at OpenShift’s web-based Che platform (you need a Red Hat account for the latter). The online platform has a couple of sample projects you can get started with. For PHP development, you can choose between four: Laravel with MySQL, Symfony with MySQL, plain PHP with MySQL, and plain PHP with an Apache web server (without MySQL). You can set up your pre-configured workspace with a single click and instantly begin to use the cloud IDE right inside your web browser.

    What’s more, you can’t only configure your stack but can also choose between different editor interfaces. The default one is Eclipse Theia, but you can also opt for Eclipse IDE, Eclipse Dirigible, IntelliJ IDEA (Community Edition), Jupyter Notebook, and an open source distribution of Visual Studio Code. The features of your PHP editor interface will depend on the IDE you chose.

    Best features:

    • access to pre-built PHP stacks
    • portability
    • use the editor interface of your choice
    • add container images from anywhere (Docker Hub, Quay.io, your own private registry, etc)
    • devfile templates
    • ready-to-use sample projects
    • terminal access to all containers
    • multi-user collaboration
    • extensible via plugins (available from the IDE interface)
    • all Che services are available via REST APIs

    5. CodeLite

    CodeLite

    CodeLite

    • Supported operating systems: Windows, Linux, macOS, FreeBSD
    • License: GNU GPL vs 2
    • Source code: https://github.com/eranif/codelite
    • Supported languages: HTML, JavaScript, Node.js, PHP, C, C++

    CodeLite is a free and open source IDE primarily for the C++ programming language, but it also comes with support for PHP and Node.js (as pre-installed plugins). It’s not the most advanced IDE you’ll find out there, but it’s free and comes with all the important IDE features for PHP, such as project and workspace management, built-in debugger (Xdebug), panes for different views, task management, code completion, project execution, and more.

    When you first launch CodeLite, it starts with a setup wizard that helps you configure the IDE to fit your coding style (you can opt out if you want). There’s an option that allows you to customize it as a PHP editor used for web development. Note that you might have to install a C++ compiler manually (if you don’t have any on your machine yet). The other thing to keep in mind is that even though CodeLite has an okay wiki page, it doesn’t come with as many tutorials/starter projects as most of the other PHP IDEs on this list.

    However, if you want a free PHP IDE that doesn’t run on Java, has many configuration options, and doesn’t require you to sign up for an account, CodeLite can be the best choice for you.

    Best features:

    • customizable design with many themes to choose from
    • powerful find and replace and go-to functionality
    • PHP linting, refactoring, and debugging
    • PHP class wizard
    • SFTP support with an SSH account manager
    • Git-integration
    • diff tool for both files and folders

    4 Best Premium PHP IDEs

    Finally, here are the best premium PHP IDEs for enterprise-level PHP development, with technical support, numerous integrations, and support for different PHP frameworks and content management systems.

    free license programs for FOSS; 30-day free trial

  • License: see EULAs
  • Supported languages: HTML, CSS, Sass, LESS, Markdown, JavaScript, Node.js, React, Vue, Angular, TypeScript, PHP, MySQL, XML, XSLT, and more
  • JetBrains PHPStorm is featured as “the lightning-smart PHP IDE”, and it offers a different user experience from most other PHP IDEs indeed. It has a clean and minimalistic user interface and a fast startup time — it launches just as fast as a simple PHP editor without any IDE features.

    In PHPStorm, you see everything only when you need it. At first launch, you’ll see a very simple view with the configuration settings and three options to start a new project. The top menu bar only becomes visible once you start a new project. Then, you can add extra windows for many things (favorites, structure, todos, problems, terminal, event log, database, debug, and more), but all are optional and easy to toggle back and forth.

    One of the best things about PHPStorm is that it comes bundled with WebStorm, JetBrains’ JavaScript IDE. So if you do both frontend and backend development and need both a JavaScript and PHP IDE, this can be your best choice. PHPStorm also integrates with the Composer package manager so that you can manage your dependencies right from your IDE. Plus, it supports the three most popular PHP content management systems: WordPress, Drupal, and Joomla.

    Best features:

    • scratch files for experimenting without creating a project
    • on-the-fly error prevention
    • prioritizing coding problems
    • HTML5 outline view
    • easy switching between different PHP versions (good for legacy projects)
    • advanced refactoring
    • debugging with its zero-config Visual Debugger (also supports Xdebug and Zend Debugger)
    • integration with version control systems (Git, Mercurial, Subversion)
    • support for both test-driven development (PHPUnit) and behavior-driven development (Behat)
    • support for all major PHP frameworks (Laravel, CakePHP, Magento, Yii, Zend Framework, WordPress, and more)

    2. Zend Studio

    Zend Studio

    Zend Studio

    • Supported operating systems: Windows, Linux, macOS, IBM i
    • Price: $89 for personal use and $189 for professional use (both are perpetual licenses with 1 year of free upgrades); 30-day free trial
    • License: Zend Studio License (pdf)
    • Supported languages: HTML, CSS, Sass, LESS, Markdown, JavaScript, PHP

    Zend Studio is a commercial PHP IDE developed by “Zend by Perforce”, a company specialized in enterprise-level PHP solutions. It’s based on the Eclipse PDT IDE (see above); you can install it either individually or as an Eclipse plugin via the Eclipse Marketplace. Zend Studio adds many enterprise-level features to the free Eclipse PHP Developer Tools.

    It seamlessly integrates with Zend’s other products, namely Zend Server, Zend Debugger, Zend Guard, the Laminas Framework (formerly known as Zend Framework), and Laminas API Tools (formerly known as Apigility). However, you are not bound to the Zend ecosystem, as Zend Studio supports many other frameworks, debuggers, web servers, and tools as well.

    Even though Eclipse PDT already has an advanced PHP editor interface, Zend Studio extends it with further PHP-specific functionality such as an enhanced code assist, database views for different relational database management systems (MySQL, MSSQL, PostgreSQL, SQLite, Oracle, and others), built-in cloud deployment (both to public and private clouds), and more.

    Best features:

    • intelligent code assist for PHP
    • automated module creation
    • advanced debugging options with Zend Debugger (default), Xdebug, or Z-Ray
    • Docker support for containerized PHP apps
    • integration with version control systems (SVN, CVS, Git) and Composer
    • support for 4K and HiDPi displays
    • support for the main cloud platforms (Microsoft Azure, Amazon AWS, Red Hat OpenShift, IBM Cloud, etc)
    • several tutorials, videos, and PHP templates

    3. Codeanywhere (cloud IDE)

    Codeanywhere

    Codeanywhere

    • Supported operating systems: any web browser, iOS, Android
    • Price: from $2.50/month; 7-day free trial
    • License: see TOS
    • Supported languages: HTML, CSS, Sass, LESS, Markdown, JavaScript, TypeScript, Node.js, PHP, Ruby, Python, Go, Ruby, Java, and more

    Codeanywhere is a platform-agnostic cloud IDE that you can use either in the web browser or as a mobile application. The project started as a web-based PHP editor and FTP client called PHPanywhere, but now it supports more than 100 programming languages. It’s based on CodeMirror, an open source, browser-native source code editor that can also work with large documents (with more than 200,000 lines).

    With Codeanywhere, you either run your coding environment in an OpenVZ container (called DevBoxes), or connect to your own server or a third-party service, such as GitHub, Bitbucket, Amazon S3, Google Drive, DigitalOcean, and more. The Codeanywhere IDE launches in a couple of seconds in the web browser, however, you’ll have to wait about half a minute for your container to be created.

    Codeanywhere welcomes you with a connection wizard where you can choose between different stacks, including two LAMP stacks (Ubuntu and CentOS) — both come with phpMyAdmin and Composer added. You can also opt for launching these PHP stacks with WordPress and WordPress CLI pre-installed. Alternatively, you can use your own custom stack too. With Codeanywhere, you can live test your PHP application over both HTTP and HTTPS protocols, from any web browser.

    Best features:

    • pre-configured PHP and WordPress stacks
    • built-in Linux terminal with sudo (root) access
    • intelligent code editing features such as code refactoring, auto-complete, go-to definitions, minimap, and more
    • support for FTP, SFTP, FTPS, SSH protocols
    • live pair programming on shared files
    • Git integration (via terminal)
    • distraction-free mode
    • multiple layout options (single, grid, column, row, split vertical, and split horizontal views)
    • integrated debugger
    • one-click code beautifier
    • browser preview

    4. Codelobster

    Codelobster

    Codelobster

    • Supported operating systems: Windows, Linux, macOS
    • Price: first year $59.95 (for up to three devices); subsequent years $19.95/year; 30-day free trial
    • License: see EULA
    • Supported languages: HTML, XML, CSS, Sass, LESS, JavaScript, TypeScript, Node.js, PHP, SQL

    Codelobster is a freemium PHP editor and IDE that also supports frontend languages. The code editor part with support for HTML, CSS, JavaScript, and PHP is free, while the IDE functionality and support for the Sass, LESS, Node.js, and SQL syntaxes comes at a price.

    Codelobster has a fairly complex user interface where you can see all the available features, panels, and menus by default — even though you can hide the panels you don’t need. The free PHP editor part comes with all the features you’ll need to write PHP code, including syntax highlighting, auto-complete, context help, and debugging functionalities.

    The biggest thing about the Codelobster IDE is the number of PHP (and JavaScript) it supports. It has plugins for WordPress, Laravel, Joomla, Drupal, CakePHP, Symfony, Yii, CodeIgniter, Phalcon, and more. Plus, it comes with support for the Twig and Smarty template engines too. To help you manage your plugins, Codelobster includes an easy-to-use plugin manager where you can see all the available and activated plugins at the same place.

    If you are a WordPress developer and looking for a WordPress IDE, Codelobster can be a great solution for you. Codelobster’s WordPress plugin provides you with advanced functionality such as WordPress syntax highlighting and autocomplete, tooltips for WordPress functions, a built-in WordPress theme editor for theme developers, a WordPress project setup wizard, and more.

    Best features:

    • HTML/CSS code inspector (free version)
    • built-in PHP debugger (free version)
    • pre-designed themes (free version)
    • code validation for HTML, CSS, and PHP
    • pre-written code snippets and code templates
    • HTML-to-PHP and PHP-to-HTML conversion
    • SQL manager (data editing, export wizard, autocomplete, and more)
    • FTP/SFTP client
    • support for version control (Git, SVN, Mercurial)

    Want to write high-quality PHP code? ✨ Then you need a high-quality PHP editor. Check out the options here to get started ✅Click to Tweet

    Summary

    In this guide, we have taken a detailed look at the best PHP editors and IDEs — both free and premium ones.

    If you have managed to find one that you like or has a feature or integration that’s important to you, you already know which one to choose. But, if you still have any doubts or questions about which PHP editor or IDE would be the best for you, here are some suggestions:

    • If you are a beginner, or don’t edit PHP files frequently, or don’t want to spend much time with configuration, go with one of the free PHP editors but not Emacs or Vim.
    • Conversely, if you want to gain the respect of die-hard programmers and don’t mind the steep learning curve, give a try to Vim or Emacs.
    • If you want a huge ecosystem, choose a PHP editor or IDE with a marketplace or plugin/package repository, such as Visual Studio Code, Atom, Sublime Text 3, Apache NetBeans, or Eclipse.
    • If you care about launch time and want your PHP editor to load fast, pick one that’s specific to one operating system, for instance NotePad++ or RJ TextEd for Windows or TextMate or Smultron for Mac.
    • If you have already used one of these source code editors or IDEs with another programming language and liked it, see how it works for editing PHP files.
    • If you need support for a specific framework or tool, find a PHP editor or IDE that has a plugin or integration for it.
    • If you need a built-in web server, want to see the stack trace, or perform other complex tasks, go with a PHP IDE.
    • If you want to work in your web browser and access your PHP project from anywhere, opt for a cloud IDE.

    You can also install more than one editor for different types of projects. For instance, you can use a lightweight, fast-loading PHP editor to quickly look into files but work with a feature-rich PHP IDE to develop, test, and debug more complicated applications.

    Finding the best development tools is a trial and error process, similar to programming itself. So don’t hesitate a lot, just install one that has the features you need, and if you don’t like it, you can test out the next one until you find the best PHP editor for you.


    If you enjoyed this article, then you’ll love Kinsta’s WordPress hosting platform. Turbocharge your website and get 24/7 support from our veteran WordPress team. Our Google Cloud powered infrastructure focuses on auto-scaling, performance, and security. Let us show you the Kinsta difference! Check out our plans

    Posted by WordPress Guru