php-flasher/flasher-laravel
Larablocks Analysis
php-flasher/flasher-laravel works with Laravel 11, 12 and 13 (latest release v2.6.3, Aug 31, 2026).
Laravel 4 to 10 in earlier releases.
Recommendation checks
Solid choiceSolid choice: maintained and up to date, meets 3 of 4 checks; below the bar for Recommended on use.
- Works with Laravel 13, the current version
- Released in the last 12 months (Aug 31, 2026)
- 81,256 downloads a month (at least 10,000)
- 45 GitHub stars (needs 100)
State
Actively maintained- Last stable release: Aug 31, 2026.
- 10 releases in the last 12 months.
- First released: Dec 14, 2020.
- Monthly downloads: 81,256, up 117% from six months ago.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 3, 2026.
| Install | |
|---|---|
composer require php-flasher/flasher-laravel |
|
| Latest Version: | v2.6.3 |
| PHP: | >=8.2 |
| Laravel: | 11 · 12 · 13 |
| Older releases: | 4 – 10 |
| License: | MIT |
| Last Updated: | Aug 31, 2026 |
| Links: | GitHub · Packagist |
PHPFlasher Laravel Adapter
Laravel framework adapter for PHPFlasher. Seamless integration with zero JavaScript setup.
Requirements
- PHP >= 8.2
- Laravel >= 11.0
Installation
composer require php-flasher/flasher-laravel
Run the install command:
php artisan flasher:install
Quick Start
// Success notification
flash()->success('Operation completed successfully!');
// Error notification
flash()->error('An error occurred.');
// With options
flash()->success('Profile updated!', [
'timeout' => 5000,
'position' => 'top-right',
]);
// In controller
public function update(Request $request)
{
// Your logic...
flash()->success('Changes saved!');
return redirect()->back();
}
Configuration
Publish configuration file:
php artisan flasher:install --config
This creates config/flasher.php where you can customize:
- Default adapter
- Global options
- Flash bag mapping
- Presets
Documentation
Complete documentation: php-flasher.io
License
Related Packages
Use Noty.js for engaging flash notifications in Laravel with PHPFlasher. Combine...
Leverage Toastr for stylish toast notifications in Laravel with PHPFlasher. Add...
Integrate Notyf's minimalist flash notifications with Laravel via PHPFlasher. En...
Incorporate SweetAlert's interactive notifications into Laravel applications wit...
The core repository for PHPFlasher, hosting the source code, contributions, issu...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v2.6.3 | >=8.2 | ^11.0| | MIT | |
| v2.6.2 | >=8.2 | ^11.0| | MIT | |
| v2.6.1 | >=8.2 | ^11.0| | MIT | |
| v2.6.0 | >=8.2 | ^11.0| | MIT | |
| v2.5.2 | >=8.2 | ^11.0| | MIT | |
| v2.5.1 | >=8.2 | ^11.0| | MIT | |
| v2.5.0 | >=8.2 | ^11.0| | MIT | |
| v2.4.0 | >=8.2 | ^11.0| | MIT | |
| v2.3.0 | >=8.2 | ^11.0| | MIT | |
| v2.2.2 | >=8.2 | ^11.0| | MIT | |
| v2.2.1 | >=8.2 | ^11.0| | MIT | |
| v2.2.0 | >=8.2 | ^11.0| | MIT | |
| v2.1.6 | >=8.2 | ^11.0| | MIT | |
| v2.1.5 | >=8.2 | ^11.0| | MIT | |
| v2.1.3 | >=8.2 | ^11.0 | MIT | |
| v2.1.2 | >=8.2 | ^11.0 | MIT | |
| v2.1.1 | >=8.2 | ^11.0 | MIT | |
| v2.1.0 | >=8.2 | ^11.0 | MIT | |
| v2.0.4 | >=8.2 | ^11.0 | MIT | |
| v2.0.3 | >=8.2 | ^11.0 | MIT | |
| v2.0.2 | >=8.2 | ^11.0 | MIT | |
| v2.0.1 | >=8.2 | ^11.0 | MIT | |
| v2.0.0 | >=8.2 | ^11.0 | MIT | |
| v1.15.14 | >=5.3 | ^4.0 || | MIT | |
| v1.15.13 | >=5.3 | ^4.0 || | MIT | |
| v1.15.12 | >=5.3 | ^4.0 || | MIT | |
| v1.15.11 | >=5.3 | ^4.0 || | MIT | |
| v1.15.10 | >=5.3 | ^4.0 || | MIT | |
| v1.15.9 | >=5.3 | ^4.0 || | MIT | |
| v1.15.8 | >=5.3 | ^4.0 || | MIT |
Showing the latest 30 of 137. See every release on Packagist