# laracasts/flash

Easy flash notifications

Repository: https://github.com/laracasts/flash
Canonical: https://ross.abutalabs.com/products/flash
Homepage: https://packagist.org/packages/laracasts/flash
Language: PHP
License Family: other
Last push: 2026-03-25T17:55:10+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 74, release rhythm 40, longevity 100
- inputs: {"age_days": 4447, "days_push": 161, "days_rel": 190, "gap_med": 383, "n_releases_24m": 2}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2674, forks 354 (observed 2026-08-28T04:07:09.638363+00:00)

## What it is
A Laravel composer package that provides an easy, Bootstrap-optimized flash messaging setup. It offers a fluent flash() helper for success, error, warning, overlay, and important message styles with included Blade templates.

## Use cases
- show success or error notifications after redirects in Laravel
- display modal overlay messages to users
- add dismissible flash alerts to Laravel views
- customize flash message partials in a Laravel app

## When to choose
- you use Laravel and want simple session-based flash notifications
- your UI uses Bootstrap and you want pre-styled message templates

## When to avoid
- you are not using Laravel or its session/Blade stack
- you need a JavaScript toast library or framework-agnostic notifications

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, templating
- domain: web-development, backend, frontend
- platform: php
- tags: laravel, flash-messages, notifications, bootstrap, composer-package, web-server

## Member repositories
- laracasts/flash (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:09.638363+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:18:03.929631+00:00, confidence not recorded.
  - readme: https://github.com/laracasts/flash (fetched 2026-08-28T04:07:09.638363+00:00, sha c6d929bd4110)
  - homepage: https://packagist.org/packages/laracasts/flash (fetched 2026-08-29T10:00:32.310587+00:00, sha 1b78d36496e0)
  - site_page: https://packagist.org/about (fetched 2026-08-29T10:00:32.321340+00:00, sha 29af46773a45)
  - site_page: https://packagist.org/packages/laracasts/flash/stats (fetched 2026-08-29T10:00:32.319504+00:00, sha 6e885799adee)
- Data as of 2026-08-30T08:39:29.467469+00:00.
