Install and configure PHPStorm

In this lesson, we will look at the coolest IDE for a PHP developer called PHPStorm. This IDE has excellent code highlighting, a bunch of built-in refactoring tools, useful hints, design themes for every taste and more.

This IDE for personal use is worth $89 per year. However, there is an option to use it for free. No, we are not talking about downloading the crack or keygen, the JetBrains themselves offer this opportunity.

Trial version

Software is available to everyone in the form of a trial version for 30 days – here. During this time, you will have time to decide whether you want to buy this software or not.


If you are completely satisfied with the product and the proposed price tag is not a problem, then you should thank the developers and buy a subscription. With each subsequent year, the renewal price decreases. There is the possibility of monthly payment. Link to the purchase page – here.

Early Access Programm (EAP)

This option I chose. This is a beta version of the program in which bugs are possible, which will be notified to software developers of JetBrains. But at the same time, you can use it absolutely free. You can download here.

Free access for some individuals

We are talking about students, teachers and developers of free software.


Download the program and run the installer. Installation is standard and usually does not require any additional steps.

After installation, run the program and open the project that we created in the third lesson. Click:

File -> Open

And select the project folder:


First of all, you need to set the correct encoding for all files in the project. To do this, go to:

File -> Settings

To the left of the menu, expand the Editor item, and select the File Encodings sub-item. Set the following settings:

Global Encoding: UTF-8
Project Encoding: UTF-8
Default encoding for properties files: UTF-8

Save changes.

Now let’s delete the files that we previously created, which are now encoded in Windows-1251. Yes, the encoding can always be changed in the lower right corner of the program, the change is made for the current open file.

Now let’s create a new file in our project called index.php. To do this, right-click on the www folder in the project structure on the left, select:

New -> PHP File

Enter the name and click Create.

Some PHPStorm features, such as automatic code writing and fast formatting using CTRL+ALT+ L, we will describe during the course, we will make a few more settings for this program.

/ April, 12 at 11:05

I create web projects, develop, optimize and promote websites. If you have any ideas or want to suggest something, then write to me and my team.

Top ↑

Leave a Reply