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

gitwithravish's avatar

Livewire syntax support in PHPStorm

I am getting warnings or plain syntax color while using the following

@livewire('component-name')
//white text

<livewire:component-name>
//warning: Namespace livewire is not defined

<div wire:init="method">...</div>
//warning: namespace wire not bound

I fixed the first issue by adding livewire directive to languages & frameworks > php > blade. But i dont know how to go about the other.

0 likes
8 replies
gitwithravish's avatar

I did check out that. It only solves the 1st statement in my code example.

baumgars's avatar

@Sinnbeck as of today with Intellij Ultimate and Laravel idea plugin still "not bound". Livewire itself might be beginner friendly, but not their quickstart doc and not the IDE support.

emiliosh's avatar

Anyone found a free alternative? Or how can I tweak PHPStorm?

1 like

Please or to participate in this conversation.