Inject an HttpClient into a Filament Page

Hello devs, so I have an HttpClient class that I have created and implemented some methods. I want to inject this in a Filament Page and consume the endpoints. How does this work please? Sorry if the question is generic.
2 Replies
Patrick Boivin
Patrick Boivin7mo ago
One option would be to use the boot() method on your Page component: https://livewire.laravel.com/docs/lifecycle-hooks#boot
Abdellah
AbdellahOP7mo ago
Thank you @pboivin
Want results from more Discord servers?
Add your server