Page Alerts
This package allows you to easily add alerts to your application's pages.
Author:
Eighty Nine
Documentation
- Display more aggressive alerts in any filament page
- 🛠️ Be Part of the Journey
- Introduction
- Installation
- Usage
- Credits
- License
#Display more aggressive alerts in any filament page
#🛠️ Be Part of the Journey
Hi, I'm Eighty Nine. I created page alerts plugin to solve real problems I faced as a developer. Your sponsorship will allow me to dedicate more time to enhancing these tools and helping more people. Become a sponsor and join me in making a positive impact on the developer community.
#Introduction
This package shows alerts in any page, not just the dashboard, currently the alerts appear on top of the page.

#Installation
You can install the package via composer:
composer require eightynine/filament-page-alerts
You can publish the config file with:
php artisan vendor:publish --tag="filament-page-alerts-config"
This is the contents of the published config file:
use Filament\View\PanelsRenderHook;
return [
/**
* Render hook
*
* The render hook to use for the alerts
*/
"render-hook" => PanelsRenderHook::PAGE_START
];
#Usage
Add the plugin to your panel service provider
public function panel(Panel $panel): Panel
{
return $panel
//...
//...
->plugin(FilamentPageAlertsPlugin::make())
->spa();
}
You can use the PageAlert class to send alerts to your page!
return [
Actions\CreateAction::make(),
Actions\Action::make('show notification')
->action(function () {
PageAlert::make()
->title('Saved successfully')
->body('Yey.. Your changes have been saved: ' . now())
->success()
->send();
PageAlert::make()
->title('Saved failure')
->body('Ooops, Your changes have not been saved! ')
->danger()
->send();
PageAlert::make()
->title('This requires your attention')
->body('Hey there, this is important')
->warning()
->url('https://www.google.com', 'Google')
->send();
PageAlert::make()
->title('You need to check this out')
->body('This looks like something worth your attention')
->info()
->send();
}),
];
#Credits
#License
The MIT License (MIT). Please see License File for more information.
The author
Eighty Nine is a software developer who loves to create plugins and packages for the Laravel ecosystem. He is passionate about sharing his knowledge and experience with other developers through medium and social media. He believes in pouring all the love and effort in his work.
From the same author
Docs
A Filament plugin for creating elegant documentation pages within your admin panel.
Author:
Eighty Nine
Approvals
This package allows you to easily implement approval flows in your Laravel Filament application.
Author:
Eighty Nine
Excel Import
This package adds a new action to your filament resource table, allowing you to easily import data to your model from excel files.
Author:
Eighty Nine
Reports
This package allows you to easily generate elegant reports in your application.
Author:
Eighty Nine
Featured Plugins
A selection of plugins curated by the Filament team
Custom Dashboards
Let your users build and share their own dashboards with a drag-and-drop interface. Define your data sources in PHP and let them do the rest.
Filament
Advanced Tables (formerly Filter Sets)
Supercharge your tables with powerful features like user-customizable views, quick filters, multi-column sorting, advanced table searching, convenient view management, and more. Compatible with Resource Panel Tables, Relation Managers, Table Widgets, and Table Builder!
Kenneth Sese
Custom Fields
Eliminate custom field migrations forever. Let your users create and manage form fields directly in Filament admin panels with 20+ built-in field types, validation, and zero database changes.
Relaticle