Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jove's avatar
Level 7

Does someone know how to configure PhpStorm with the new L7 blade tags?

Hello,

Does anyone know how to configure PhpStorm to understand/accept the new L7 blade tags? Currently it does not like that I have tags it does not know about or that I don't close them, which breaks the autocomplete and reformating for the rest of the blade file.

I started using them now after I started looking at Livewire.

0 likes
4 replies
Dunsti's avatar

you can configure custom blade-directives in PHP-Storm like so:

  • go to settings -> Language & Frameworks -> PHP -> Blade

  • uncheck the "Use default settings" checkbox

  • click on Directives

  • with the "+" at the right, you can add new directives

But I guess that the new blade-tags will be in the default Blade-plugin sooner or later, so it depends, if you want to add them manually to PHP-Storm or just wait some time.

4 likes
gitwithravish's avatar

I am using livewire. PHPStorm is throwing warnings when used @livewire or <livewire-comp>..</..> or livewire methods in HTML like wire:init="..". How do I fix this ?

9 likes

Please or to participate in this conversation.