Skip to content

Livewire Props#553

Merged
TitasGailius merged 3 commits intomainfrom
view-props
Jan 26, 2026
Merged

Livewire Props#553
TitasGailius merged 3 commits intomainfrom
view-props

Conversation

@TitasGailius
Copy link
Collaborator

@TitasGailius TitasGailius commented Jan 22, 2026

Adds support for hovering over Livewire 3 and 4 component properties.

Now, when you hover a prop in a Blade file, it displays the relevant type and docblock information directly from the PHP class.

Screenshot 2026-01-26 at 20 51 07

@N1ebieski
Copy link
Contributor

Hi @TitasGailius your implementation is really clean. Does it support Volt/MFC/SFC component properties, or only standard Livewire component classes?

PRs #351 and #352 can be closed as well.

@TitasGailius
Copy link
Collaborator Author

Thanks @N1ebieski!

It actually supports all of those since it leverages the app('livewire')->new(...) loader. That function loads any Livewire/Volt component, and the cool part is that it works with both Livewire 3 and Livewire 4.

Your PR #351 is a great example of the direction I want to take this. I would love to split Blade and Livewire parsing even more in the future, as right now everything is kinda smashed together. I will go ahead and close those PRs as suggested.

@TitasGailius TitasGailius merged commit 73cedef into main Jan 26, 2026
1 check passed
@TitasGailius TitasGailius deleted the view-props branch January 26, 2026 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments