1. 2
    Install a PHP IDE editor
    1m 58s

Install a PHP IDE editor

Mark Shust
InstructorMark Shust
Share this video with your friends

Social Share Links

Send Tweet
Published 2 years ago
Updated 2 years ago

There are many different options when it comes to choosing a PHP editor, from Notepad to VSCode to PHPStorm. Let's pick an IDE and create our project folder.

Instructor: [0:00] There are many different options when it comes to setting up a PHP editor. PHP is so simple that you can even use a plain text editor, such as Notepad, TextEdit, or command line. Even though I still use command line and Vim to edit files a lot, I'm almost always coding in a full-blown editing program.

[0:19] In order to gain syntax highlighting, real-time air notifications, suggestions for code fixes, or many other benefits, you'll need a real IDE, or integrated development environment, for coding up your PHP programs. The two most popular editors in the PHP world are VSCode and PhpStorm.

[0:40] VSCode has been making ground and seems to be preferred by many new PHP developers because it loads very quick, and best of all, it's completely free. You can go to code.visualstudio.com to download and install it for your platform. I still very much prefer JetBrains Phpstorm, though, because it's so fully featured.

[1:04] As soon as you get into more complex PHP code and need to debug code with Xdebug, step into parent classes, plug in some advanced editor configuration, or some other plug-in, PhpStorm is, without a doubt, the best-in-class PHP editor.

[1:21] I'll be using PhpStorm throughout this course, just so you know, but you can feel free to follow along in VSCode or any other PHP editor. You will not need a full-blown editor to take this course.

[1:34] Once PhpStorm is open, go ahead and create a new project. We will select this PHP Empty project toggle. I store all my projects within my Local Sites directory. I will just call this app My PHP. After that's set, PhpStorm will be open to that My PHP directory, and you are ready to start coding.

egghead
egghead
~ an hour ago

Member comments are a way for members to communicate, interact, and ask questions about a lesson.

The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io

Be on-Topic

Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.

Avoid meta-discussion

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

Code Problems?

Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context

Details and Context

Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!

Markdown supported.
Become a member to join the discussionEnroll Today