In modern web applications, user feedback is crucial. Whether it's a success message after saving a form or an error alert when something goes wrong, how you communicate with your users matters.
Flare was built with three core principles in mind:
Flare uses a lightweight Alpine.js component to render notifications on the client side, while providing a fluent PHP API to trigger them from your Livewire components or controllers.
// In your Livewire component
public function save()
{
$this->user->save();
Flare::success('Profile updated successfully!');
}
Flare is an open-source project built for the Laravel community. We welcome contributions, feedback, and suggestions!
How can I help you explore Laravel packages today?