Palestinian Flag Solidarity with Palestine. We seek justice and peace, and strongly oppose all forms of injustice and genocide.
Enjoying PHPFlasher? Show your support with a star on GitHub! Thank you

Flasher Theme

The default notification system for PHPFlasher

Success Data has been saved successfully!
Information Welcome back!

Configuration

// config/flasher.php

return [
    'default' => 'theme.flasher',
];

Usage

When theme.flasher is set as your default theme:
flash()->success('Your changes have been saved!');
For specific notifications:
flash()->use('theme.flasher')->success('This uses Flasher Theme');

Key Features

Visual Design

  • Color-coded borders for quick identification
  • Progress indicator shows remaining display time
  • Responsive design works on all screen sizes

Accessibility

  • Semantic ARIA attributes for screen readers
  • Keyboard navigation support
  • RTL language support

Customization

:root {
  --fl-success: #10b981; /* Green */
  --fl-error: #ef4444;   /* Red */
  --fl-warning: #f59e0b; /* Orange */
  --fl-info: #3b82f6;    /* Blue */
}