New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

php-flasher/flasher

The foundational PHP library for PHPFlasher, enabling the creation of framework-agnostic flash notifications. Ideal for building custom integrations or for use in PHP projects.
5,035,140 64

Larablocks Analysis

php-flasher/flasher works with any PHP project: the latest release (v2.6.3, Aug 31, 2026) doesn't depend on Laravel.

Recommendation checks

Solid choice

Solid choice: maintained and up to date, meets 2 of 3 checks; below the bar for Recommended on use.

  • Released in the last 12 months (Aug 31, 2026)
  • 86,743 downloads a month (at least 10,000)
  • 64 GitHub stars (needs 100)

State

Actively maintained
  • Last stable release: Aug 31, 2026.
  • 10 releases in the last 12 months.
  • First released: Dec 13, 2020.
  • Monthly downloads: 86,743, up 111% 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
Latest Version:v2.6.3
PHP:>=8.2
License:MIT
Last Updated:Aug 31, 2026
Links: GitHub  ·  Packagist
Maintainer: yoeunes

PHPFlasher Core

Latest Version Total Downloads License

Framework-agnostic flash notifications library for PHP. Build custom integrations or use with any PHP project.

Requirements

  • PHP >= 8.2

Installation

composer require php-flasher/flasher

Quick Start

// Success notification
flash('Operation completed successfully!', 'success');

// Error notification
flash('An error occurred.', 'error');

// With options
flash('Profile updated!', 'success', [
    'timeout' => 5000,
    'position' => 'top-right',
]);

// With translation
flash('Welcome back!', 'info', [
    'translate' => true,
    'locale' => 'en',
]);

Key Features

  • Framework Agnostic: Works with Laravel, Symfony, or any PHP project
  • Plugin System: Extensible architecture for adding custom adapters
  • Stamp Pattern: Flexible metadata system for notifications
  • Storage Management: Multiple storage backends (session, array, etc.)
  • Event System: Event-driven architecture for customization
  • Response Handling: HTML and JSON response formats

Documentation

Complete documentation: php-flasher.io

License

MIT

Related Packages

php-forge/inertia

Framework-agnostic PHP core for the Inertia.js protocol.

7,114 2
valorin/random

Random is a simple helper package designed to make it easy to generate a range o...

479,812 234
php
cline/variable-keys

Laravel Blueprint macros for variable primary key and morph types

26,787 0
php
cline/struct

Lean, attribute-driven Laravel data objects with explicit validation and Eloquen...

22,365 0
php
cline/toggl

Advanced feature flag management with strategies, time bombs, and groups

15,405 0
php

Version History

Version Released PHP License
v2.6.3 >=8.2 MIT
v2.6.2 >=8.2 MIT
v2.6.1 >=8.2 MIT
v2.6.0 >=8.2 MIT
v2.5.2 >=8.2 MIT