Best IDE for PHP starters

Harreni
Harreni used Ask the Experts™
on
Hi Experts,

I have 2 questions:

1- What is the best IDE to start with for PHP web development that provides me with:
  • Controls to be drag and drop on the IDE interface instead of creating it from scratch.
  • Debugging breakpoints and show the a detailed error messages.
  • Ready made code snippet for use : like managing a connection with database and error handlers.

2- Can I develop a PHP code inside a Microsoft visual studio, if yes please tell what needed to be installed and detailed steps.


Thanks a lot.
Harreni
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2011
Top Expert 2016

Commented:
PHPStorm is the best PHP editor and IDE.  You can get a free trial.

Most PHP developers use Linux (a "LAMP" stack), not Microsoft tools.  If you want to understand why, go to any PHP conference and try to find the Microsoft Visual Studio track.  Our community does not have much patience for complicated and expensive "solutions" that lock us into some kind of proprietary platform.

If you're new to PHP and want to get started, this article can help.
https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html
Dave BaldwinFixer of Problems
Most Valuable Expert 2014

Commented:
While 'controls' like 'input' statements could be done with 'drag and drop', most of the code that I write in PHP is unique to the problem I have to solve.  Except for the most basic functions, there are no code samples or 'drag and drop' that would help me at all.
Most Valuable Expert 2011
Top Expert 2016

Commented:
I agree with Dave Baldwin on this one (I usually do -- he's one of the most experienced members of our community).  But I would add one "outside the box" case you might want to consider.  Learn about Composer.  When you get beyond the basics of just thinking about a single PHP script and start thinking about application development, you will quickly find that other people have already written large parts of your application, and you just need a way to tap into their code sets.  That exists, and we all use it to add components to our software.
Exploring SQL Server 2016: Fundamentals

Learn the fundamentals of Microsoft SQL Server, a relational database management system that stores and retrieves data when requested by other software applications.

Marco GasiFreelancer
Top Expert 2010

Commented:
My two cents about drag%drop: I think RAD development tecniques can't be used efficiently in web development because of the specific form webpages are designed. To build, for instance, a form, you can imagine it be easier to drag and drop single element on the page but each element needs to have attributes that are specific for each project depending on the specific css framework used, the specific layout and custom classes implemented for each input type and so on. The advantage to drag an element would be ridicolous since you have then to manually rearrange the form within layout markup specific to the css used in that project.
That said, I love Netbeans IDE. It has born as a Java IDE but it offers a great support to Php, HTML5, CSS3 and even for Cordova/Phonegap development. It is open source and totally free and... ok, I just love it :)
Carlos IjalbaIT Systems Director
Top Expert 2014

Commented:
Very LIGHT and FAST, windows-based IDES from BluMentals Software:

Rapid PHP Editor       http://www.rapidphpeditor.com/
WeBuilder                   http://www.webuilderapp.com/

Heavier IDEs but professional-grade (knowing them will help you out when looking for a job):

Eclipse Neon               https://eclipse.org/
Netbeans IDE              https://netbeans.org/
Visual Studio Code     https://www.visualstudio.com/products/code-vs
Software Developer
Commented:
It is really hard to tell the best one. You'll need to try out several IDEs and choose your favorite one. I personally use NuSphere PhpED but there are other powerful IDEs like PhpStorm, Zend Studio, etc. (Here is the list of some of them)
If you want to use Visual Studio for PHP development, this is also possible: VS.Php, PHP Tools for Visual Studio
Since you'll start coding PHP first time, you'll also need to check documentation often. IDE's like NuSphere PhpED offers quick access to php.net manual by pressing F1 key on function names. Also, you'll need solid debugger. Check NuSphere's PHP Tutorial to get started.
Dave BaldwinFixer of Problems
Most Valuable Expert 2014

Commented:
I forgot to mention that I have many PHP 'pages' that do not have a visible display.  They process data and database info.  Some are accessed from the web and some from the desktop but without any 'controls' that can be seen.
Most Valuable Expert 2017
Distinguished Expert 2018

Commented:
I have tried many IDE's ultimately I always come back to Notepad++ and Sublime. Possibly goes back to the days before GUI IDE's when Brief by Underware and makefiles was how we built apps.

Author

Commented:
Thanks a lot every body, all of you give me a good explanation for my questions.
Ovunc TukenmezSoftware Developer

Commented:
Thank you too Harreni!
I wish you huge success on your PHP coding journey :)

Commented:
There are many PHP IDE these days. Some are free but often developers prefer commercial ones.

As for Visual Studio there is an extension called PHP Tools that can make Visual Studio an IDE for PHP. There is a tutorial of PHP Tools for Visual Studio here. There is a free version that can work with the community edition of Visual Studio community edition.

You can also find a comparison of PHP IDEs here, so you can evaluate what suits you better.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial