{"id":1092,"date":"2015-07-23T10:10:18","date_gmt":"2015-07-23T08:10:18","guid":{"rendered":"https:\/\/www.nullalo.com\/?p=1092"},"modified":"2025-10-22T10:16:29","modified_gmt":"2025-10-22T08:16:29","slug":"come-configurare-phpstorm-per-laravel","status":"publish","type":"post","link":"https:\/\/www.nullalo.com\/en\/how-to-configure-phpstorm-for-laravel\/","title":{"rendered":"How to configure PhpStorm for Laravel"},"content":{"rendered":"<p><\/p>\n<p style=\"text-align: justify;\">If you\u00a0develop web applications you certainly heard of <strong><a href=\"http:\/\/laravel.com\/\" target=\"_blank\">Laravel<\/a><\/strong>, a PHP framework that uses <a href=\"https:\/\/en.wikipedia.org\/wiki\/Hierarchical_model%E2%80%93view%E2%80%93controller\" target=\"_blank\">HMVC<\/a>\u00a0architectural pattern, currently at version 5.1.4.<\/p>\n<p style=\"text-align: justify;\">The best IDE currently available for Laravel\u00a0is JetBrains <strong><a href=\"https:\/\/www.jetbrains.com\/phpstorm\/\" target=\"_blank\">PhpStorm<\/a><\/strong>, available for Windows, Mac OS X and Linux.<\/p>\n<p style=\"text-align: justify;\">However, once installed, the IDE must be configured to be able to offer a series of facilities for Laravel, both as for\u00a0PHP classes that for Blade templates engine syntax.<\/p>\n<p style=\"text-align: justify;\">Let&#8217;s see in detail which\u00a0are the steps to take:<\/p>\n<h4 style=\"text-align: justify;\">1. Install\u00a0<strong><a href=\"https:\/\/www.jetbrains.com\/phpstorm\/download\/\" target=\"_blank\">PhpStorm<\/a>\u00a0<\/strong><span style=\"line-height: 1.5;\">(currently version 9)<\/span><\/h4>\n<p style=\"text-align: justify;\">The installation package can be downloaded at the following address:<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.jetbrains.com\/phpstorm\/download\/\" target=\"_blank\">https:\/\/www.jetbrains.com\/phpstorm\/download\/<\/a><\/p>\n<h4 style=\"text-align: justify;\">2. Install\u00a0<strong><a href=\"https:\/\/getcomposer.org\/download\/\" target=\"_blank\">Composer<\/a><\/strong><\/h4>\n<p>This tool can be downloaded at the following address:<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/getcomposer.org\/download\/\" target=\"_blank\">https:\/\/getcomposer.org\/download\/<\/a><\/p>\n<p style=\"text-align: justify;\">Write down Composer&#8217;s installation path, since it will be needed in the next steps.<\/p>\n<h4 style=\"text-align: justify;\">3. Install\u00a0<strong><a href=\"https:\/\/github.com\/barryvdh\/laravel-ide-helper\" target=\"_blank\">Laravel IDE Helper<\/a><\/strong><\/h4>\n<p style=\"text-align: justify;\">First of all, you must first configure Composer for\u00a0your\u00a0project. Open PhpStorm, <strong>create\/open a project<\/strong> and click on the &#8220;<em>File-&gt;Settings&#8230;<\/em>&#8221; menu.<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_01.png\" rel=\"lightbox[1092]\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1098\" src=\"\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_01-300x154.png\" alt=\"phpstorm_laravel_01\" width=\"300\" height=\"154\" srcset=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_01-300x154.png 300w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_01-1024x526.png 1024w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_01-360x185.png 360w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_01-750x385.png 750w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_01.png 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">On Mac, the\u00a0menu is &#8220;<em>PhpStorm-&gt;Preferences&#8230;<\/em>&#8220;.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_01_mac.png\" rel=\"lightbox[1092]\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1137\" src=\"\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_01_mac-300x188.png\" alt=\"phpstorm_laravel_01_mac\" width=\"300\" height=\"188\" srcset=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_01_mac-300x188.png 300w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_01_mac-1024x640.png 1024w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_01_mac-360x225.png 360w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_01_mac-750x469.png 750w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">Select\u00a0&#8220;<em>Tools-&gt;Command Line Tool Support<\/em>&#8221; and click on the green\u00a0&#8220;+&#8221; button on top right of the window.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_02.png\" rel=\"lightbox[1092]\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1100\" src=\"\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_02-300x200.png\" alt=\"phpstorm_laravel_02\" width=\"300\" height=\"200\" srcset=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_02-300x200.png 300w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_02-1024x683.png 1024w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_02-360x240.png 360w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_02-750x500.png 750w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_02.png 1038w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">On\u00a0Mac &#8220;+&#8221; button is the\u00a0left bottom part of the window.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_02_mac.png\" rel=\"lightbox[1092]\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1138\" src=\"\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_02_mac-300x195.png\" alt=\"phpstorm_laravel_02_mac\" width=\"300\" height=\"195\" srcset=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_02_mac-300x195.png 300w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_02_mac-1024x664.png 1024w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_02_mac-360x234.png 360w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_02_mac-750x487.png 750w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">At this point, after clicking &#8220;OK&#8221;, select the path of PHP\u00a0interpreter (php.exe on Windows) and the Composer one (composer.phar), as shown, and click OK again.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_03.png\" rel=\"lightbox[1092]\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1101\" src=\"\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_03-300x126.png\" alt=\"phpstorm_laravel_03\" width=\"300\" height=\"126\" srcset=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_03-300x126.png 300w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_03-360x152.png 360w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_03.png 536w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">Back to the settings screen, simply make sure that the Composer entry has a checkmark in the &#8220;Enabled&#8221; column and click &#8220;OK&#8221;.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_04.png\" rel=\"lightbox[1092]\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1102\" src=\"\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_04-300x200.png\" alt=\"phpstorm_laravel_04\" width=\"300\" height=\"200\" srcset=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_04-300x200.png 300w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_04-1024x683.png 1024w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_04-360x240.png 360w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_04-750x500.png 750w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_04.png 1038w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">The next step is to select the new &#8220;<em>Tools-&gt;Composer-&gt;Add dependancy&#8230;<\/em>&#8221; menu item (if it is disabled, first click on &#8220;<em>Tools-&gt;Composer-&gt;Init Composer&#8230;<\/em>&#8220;).<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_05.png\" rel=\"lightbox[1092]\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1103\" src=\"\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_05-300x154.png\" alt=\"phpstorm_laravel_05\" width=\"300\" height=\"154\" srcset=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_05-300x154.png 300w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_05-1024x526.png 1024w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_05-360x185.png 360w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_05-750x385.png 750w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_05.png 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">Then type &#8220;<em><strong>barryvdh\/laravel-ide-helper<\/strong><\/em>&#8221; as search string and click on &#8220;Install&#8221;. In case of problems, select another version (eg 2.0.6) from the &#8220;<em>Version to install<\/em>&#8221; dropdown menu.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_06.png\" rel=\"lightbox[1092]\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1105\" src=\"\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_06-300x272.png\" alt=\"phpstorm_laravel_06\" width=\"300\" height=\"272\" srcset=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_06-300x272.png 300w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_06-360x326.png 360w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_06.png 527w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">After adding this dependency, you&#8217;ll have to register &#8220;<em><strong>Barryvdh\\LaravelIdeHelper\\IdeHelperServiceProvider<\/strong><\/em>&#8221; Service Provider in your application, adding the same line in the &#8220;<em><strong>\/config\/app.php<\/strong><\/em>&#8221; file of your project.\u00a0<a href=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_07.png\" rel=\"lightbox[1092]\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1107\" src=\"\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_07-300x154.png\" alt=\"phpstorm_laravel_07\" width=\"300\" height=\"154\" srcset=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_07-300x154.png 300w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_07-1024x526.png 1024w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_07-360x185.png 360w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_07-750x385.png 750w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_07.png 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">As\u00a0last step, launch the following command from your project&#8217;s directory command prompt:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">php artisan ide-helper:generate<\/pre>\n<p style=\"text-align: justify;\">If everything is fine, the answer to the command will be &#8220;<em>A new helper file was written to _ide_helper.php<\/em>&#8221; and such\u00a0file will be added to the root of your project.<\/p>\n<h4 style=\"text-align: justify;\">4. Install\u00a0<a href=\"https:\/\/plugins.jetbrains.com\/plugin\/7532\" target=\"_blank\">Laravel plugin for PhpStorm<\/a><\/h4>\n<p>From the usual &#8220;<em>File-&gt;Settings&#8230;<\/em>&#8221; menu select &#8220;<em>Plugins<\/em>&#8221; and click on &#8220;<em>Browse repositories&#8230;<\/em>&#8221; at the bottom.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_08.png\" rel=\"lightbox[1092]\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1114\" src=\"\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_08-300x200.png\" alt=\"phpstorm_laravel_08\" width=\"300\" height=\"200\" srcset=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_08-300x200.png 300w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_08-1024x683.png 1024w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_08-360x240.png 360w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_08-750x500.png 750w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_08.png 1038w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">Search for &#8220;<em>Laravel<\/em>&#8220;, select &#8220;<strong>Laravel Plugin<\/strong>&#8221; and click on &#8220;Install Plugin&#8221; in the right window.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_09.png\" rel=\"lightbox[1092]\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1115\" src=\"\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_09-300x248.png\" alt=\"phpstorm_laravel_09\" width=\"300\" height=\"248\" srcset=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_09-300x248.png 300w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_09-360x297.png 360w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_09-750x620.png 750w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_09.png 840w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">After installation is complete, click on &#8220;Restart PhpStorm&#8221;, then on &#8220;OK&#8221; and finally confirm with &#8220;Restart&#8221;.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_10.png\" rel=\"lightbox[1092]\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1117\" src=\"\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_10-300x248.png\" alt=\"phpstorm_laravel_10\" width=\"300\" height=\"248\" srcset=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_10-300x248.png 300w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_10-360x297.png 360w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_10-750x620.png 750w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_10.png 840w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_11.png\" rel=\"lightbox[1092]\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1118\" src=\"\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_11-300x115.png\" alt=\"phpstorm_laravel_11\" width=\"300\" height=\"115\" srcset=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_11-300x115.png 300w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_11.png 328w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">After\u00a0IDE is restarted, from the &#8220;<em>File-&gt;Settings&#8230;<\/em>&#8221; menu click on the new &#8220;<em>Other Settings-&gt;Laravel Plugin<\/em>&#8221; item and make sure &#8220;<strong>Enable plugin for this project<\/strong>&#8221; option is enabled.<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_12.png\" rel=\"lightbox[1092]\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1120\" src=\"\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_12-300x200.png\" alt=\"phpstorm_laravel_12\" width=\"300\" height=\"200\" srcset=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_12-300x200.png 300w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_12-1024x683.png 1024w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_12-360x240.png 360w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_12-750x500.png 750w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_12.png 1038w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<h4 style=\"text-align: justify;\">5.\u00a0Final check<\/h4>\n<p style=\"text-align: justify;\">At this point you have an\u00a0<strong>autocomplete<\/strong> function\u00a0for Laravel\u00a0controllers, views, routes, configuration and translations, as shown in the following example.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_13_it.png\" rel=\"lightbox[1092]\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1121\" src=\"\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_13_it-300x105.png\" alt=\"phpstorm_laravel_13_it\" width=\"300\" height=\"105\" srcset=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_13_it-300x105.png 300w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_13_it-360x126.png 360w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_13_it.png 656w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">In addition, a valid support is also provided for <strong>Blade templates<\/strong>:<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_14_it.png\" rel=\"lightbox[1092]\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1122\" src=\"\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_14_it-300x39.png\" alt=\"phpstorm_laravel_14_it\" width=\"300\" height=\"39\" srcset=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_14_it-300x39.png 300w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_14_it-360x47.png 360w, https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel_14_it.png 463w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">Finally, you can <strong>navigate\u00a0items<\/strong> using <em><strong>Ctrl+Click<\/strong><\/em> (<em><strong>CMD+Click<\/strong><\/em> on Mac OS X), or <em>Go To Declaration<\/em> (<em><strong>Ctrl+B<\/strong><\/em> on Windows, <em><strong>CMD+B<\/strong><\/em> on Mac OS X).<\/p>\n<p style=\"text-align: justify;\">Now all you have to do is just practice with the new framework &#8230; enjoy!<\/p>\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>If you\u00a0develop web applications you certainly heard of Laravel, a PHP framework that uses HMVC\u00a0architectural pattern, currently at version 5.1.4. The best IDE currently available for Laravel\u00a0is JetBrains PhpStorm, available for Windows, Mac OS X and Linux. However, once installed, the IDE must be configured to be able to offer<\/p>\n","protected":false},"author":2,"featured_media":1112,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[6],"tags":[93,91,92],"class_list":["post-1092","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-ide","tag-laravel","tag-phpstorm"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to configure PhpStorm for Laravel - Nullalo!<\/title>\n<meta name=\"description\" content=\"How to configure PhpStorm IDE for Laravel, both as for PHP classes that for Blade templates engine syntax autocomplete.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.nullalo.com\/?p=1092\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to configure PhpStorm for Laravel - Nullalo!\" \/>\n<meta property=\"og:description\" content=\"[:it]Come configurare l&#039;IDE PHPStorm per l&#039;autocompletamento delle classi PHP e della sintassi del motore Blade utilizzato per i template di Laravel.[:en]How to configure PhpStorm IDE for Laravel, both as for PHP classes that for Blade templates engine syntax autocomplete.[:]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.nullalo.com\/?p=1092\" \/>\n<meta property=\"og:site_name\" content=\"Nullalo!\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/nullalo\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/fulvio.sicurezza\" \/>\n<meta property=\"article:published_time\" content=\"2015-07-23T08:10:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-22T08:16:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1140\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Fulvio Sicurezza\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/FulvioSicurezza\" \/>\n<meta name=\"twitter:site\" content=\"@Nullalo\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fulvio Sicurezza\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.nullalo.com\/?p=1092\",\"url\":\"https:\/\/www.nullalo.com\/?p=1092\",\"name\":\"[:it]Come configurare PhpStorm per Laravel[:en]How to configure PhpStorm for Laravel[:] - Nullalo!\",\"isPartOf\":{\"@id\":\"https:\/\/www.nullalo.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.nullalo.com\/?p=1092#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.nullalo.com\/?p=1092#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel.jpg\",\"datePublished\":\"2015-07-23T08:10:18+00:00\",\"dateModified\":\"2025-10-22T08:16:29+00:00\",\"author\":{\"@id\":\"https:\/\/www.nullalo.com\/#\/schema\/person\/fe9c2885376a6ab076e06461ae1b546c\"},\"description\":\"[:it]Come configurare l'IDE PHPStorm per l'autocompletamento delle classi PHP e della sintassi del motore Blade utilizzato per i template di Laravel.[:en]How to configure PhpStorm IDE for Laravel, both as for PHP classes that for Blade templates engine syntax autocomplete.[:]\",\"breadcrumb\":{\"@id\":\"https:\/\/www.nullalo.com\/?p=1092#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.nullalo.com\/?p=1092\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.nullalo.com\/?p=1092#primaryimage\",\"url\":\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel.jpg\",\"contentUrl\":\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel.jpg\",\"width\":1140,\"height\":600},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.nullalo.com\/?p=1092#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.nullalo.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Come configurare PhpStorm per Laravel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.nullalo.com\/#website\",\"url\":\"https:\/\/www.nullalo.com\/\",\"name\":\"Nullalo!\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.nullalo.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.nullalo.com\/#\/schema\/person\/fe9c2885376a6ab076e06461ae1b546c\",\"name\":\"Fulvio Sicurezza\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.nullalo.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/02\/Fulvio-Sicurezza_avatar_1424711147-96x96.jpg\",\"contentUrl\":\"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/02\/Fulvio-Sicurezza_avatar_1424711147-96x96.jpg\",\"caption\":\"Fulvio Sicurezza\"},\"sameAs\":[\"http:\/\/www.generalservice.na.it\",\"https:\/\/www.facebook.com\/fulvio.sicurezza\",\"http:\/\/it.linkedin.com\/in\/fulviosicurezza\",\"https:\/\/x.com\/https:\/\/twitter.com\/FulvioSicurezza\",\"https:\/\/www.youtube.com\/c\/FulvioSicurezzaIT\"],\"url\":\"https:\/\/www.nullalo.com\/en\/author\/f-sicurezza\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to configure PhpStorm for Laravel - Nullalo!","description":"How to configure PhpStorm IDE for Laravel, both as for PHP classes that for Blade templates engine syntax autocomplete.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.nullalo.com\/?p=1092","og_locale":"en_US","og_type":"article","og_title":"How to configure PhpStorm for Laravel - Nullalo!","og_description":"[:it]Come configurare l'IDE PHPStorm per l'autocompletamento delle classi PHP e della sintassi del motore Blade utilizzato per i template di Laravel.[:en]How to configure PhpStorm IDE for Laravel, both as for PHP classes that for Blade templates engine syntax autocomplete.[:]","og_url":"https:\/\/www.nullalo.com\/?p=1092","og_site_name":"Nullalo!","article_publisher":"https:\/\/www.facebook.com\/nullalo","article_author":"https:\/\/www.facebook.com\/fulvio.sicurezza","article_published_time":"2015-07-23T08:10:18+00:00","article_modified_time":"2025-10-22T08:16:29+00:00","og_image":[{"width":1140,"height":600,"url":"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel.jpg","type":"image\/jpeg"}],"author":"Fulvio Sicurezza","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/FulvioSicurezza","twitter_site":"@Nullalo","twitter_misc":{"Written by":"Fulvio Sicurezza","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.nullalo.com\/?p=1092","url":"https:\/\/www.nullalo.com\/?p=1092","name":"[:it]Come configurare PhpStorm per Laravel[:en]How to configure PhpStorm for Laravel[:] - Nullalo!","isPartOf":{"@id":"https:\/\/www.nullalo.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.nullalo.com\/?p=1092#primaryimage"},"image":{"@id":"https:\/\/www.nullalo.com\/?p=1092#primaryimage"},"thumbnailUrl":"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel.jpg","datePublished":"2015-07-23T08:10:18+00:00","dateModified":"2025-10-22T08:16:29+00:00","author":{"@id":"https:\/\/www.nullalo.com\/#\/schema\/person\/fe9c2885376a6ab076e06461ae1b546c"},"description":"[:it]Come configurare l'IDE PHPStorm per l'autocompletamento delle classi PHP e della sintassi del motore Blade utilizzato per i template di Laravel.[:en]How to configure PhpStorm IDE for Laravel, both as for PHP classes that for Blade templates engine syntax autocomplete.[:]","breadcrumb":{"@id":"https:\/\/www.nullalo.com\/?p=1092#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.nullalo.com\/?p=1092"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.nullalo.com\/?p=1092#primaryimage","url":"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel.jpg","contentUrl":"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/07\/phpstorm_laravel.jpg","width":1140,"height":600},{"@type":"BreadcrumbList","@id":"https:\/\/www.nullalo.com\/?p=1092#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.nullalo.com\/"},{"@type":"ListItem","position":2,"name":"Come configurare PhpStorm per Laravel"}]},{"@type":"WebSite","@id":"https:\/\/www.nullalo.com\/#website","url":"https:\/\/www.nullalo.com\/","name":"Nullalo!","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.nullalo.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.nullalo.com\/#\/schema\/person\/fe9c2885376a6ab076e06461ae1b546c","name":"Fulvio Sicurezza","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.nullalo.com\/#\/schema\/person\/image\/","url":"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/02\/Fulvio-Sicurezza_avatar_1424711147-96x96.jpg","contentUrl":"https:\/\/www.nullalo.com\/wp-content\/uploads\/2015\/02\/Fulvio-Sicurezza_avatar_1424711147-96x96.jpg","caption":"Fulvio Sicurezza"},"sameAs":["http:\/\/www.generalservice.na.it","https:\/\/www.facebook.com\/fulvio.sicurezza","http:\/\/it.linkedin.com\/in\/fulviosicurezza","https:\/\/x.com\/https:\/\/twitter.com\/FulvioSicurezza","https:\/\/www.youtube.com\/c\/FulvioSicurezzaIT"],"url":"https:\/\/www.nullalo.com\/en\/author\/f-sicurezza\/"}]}},"_links":{"self":[{"href":"https:\/\/www.nullalo.com\/en\/wp-json\/wp\/v2\/posts\/1092","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nullalo.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nullalo.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nullalo.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nullalo.com\/en\/wp-json\/wp\/v2\/comments?post=1092"}],"version-history":[{"count":1,"href":"https:\/\/www.nullalo.com\/en\/wp-json\/wp\/v2\/posts\/1092\/revisions"}],"predecessor-version":[{"id":1948,"href":"https:\/\/www.nullalo.com\/en\/wp-json\/wp\/v2\/posts\/1092\/revisions\/1948"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.nullalo.com\/en\/wp-json\/wp\/v2\/media\/1112"}],"wp:attachment":[{"href":"https:\/\/www.nullalo.com\/en\/wp-json\/wp\/v2\/media?parent=1092"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nullalo.com\/en\/wp-json\/wp\/v2\/categories?post=1092"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nullalo.com\/en\/wp-json\/wp\/v2\/tags?post=1092"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}