Best IDE for PHP starters

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
HarreniAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ray PaseurCommented:
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 ProblemsCommented:
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.
Ray PaseurCommented:
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.
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

Marco GasiFreelancerCommented:
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 DirectorCommented:
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
Ovunc TukenmezSoftware DeveloperCommented:
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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Dave BaldwinFixer of ProblemsCommented:
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.
Julian HansenCommented:
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.
HarreniAuthor Commented:
Thanks a lot every body, all of you give me a good explanation for my questions.
Ovunc TukenmezSoftware DeveloperCommented:
Thank you too Harreni!
I wish you huge success on your PHP coding journey :)
mlemosCommented:
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.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.