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

JustDave's avatar

Where are the Jetstream Livewire component classes?

So recently I have started migrating a Laravel Breeze project over to Livewire Jetstream for the extra features.

I have run into a problem with the profile page where I want to add a new field to the UpdateUserProfileInformation. For this field (a dropdown) I need to access some information from the database. I published all my views and can access and edit the Livewire components, I also found the controller for the profile show blade and have access to the eloquent collection profile show.

This is the first time I have used Livewire and it seems you can pass data like this

<livewire:profile.update-profile-information-form :roles="$roles">

But to make this work you need to add a public variable $roles in a component class. Now I have looked everywhere and cannot find where they should be. I even tried making one myself in App\Http\Livewire by making the livewire directory and making the class in there.

0 likes
2 replies
JustDave's avatar

Okay so after looking again I have found the controller, but I still have a question. How do I publish these controllers? Since right now they are in the vendor map.

Please or to participate in this conversation.