Files
php-flasher/src/SweetAlert
Younes ENNAJI 61f991f379 Simplify JSDoc and SCSS comments in theme files and entry points
Remove verbose JSDoc and SCSS comments from:
- Theme TypeScript files (17 amazon, amber, aurora, crystal, emerald, facebook, flasher, google, ios, jade, material, minimal, neon, onyx, ruby, sapphire, slack)
- Theme SCSS files (21 theme stylesheets including icons, progress, wrapper, and all theme variants)
- Theme index.ts registration files (17 files)
- Entry point and export files (index.ts, exports.ts)
- Adapter index.ts files (Noty, Notyf, SweetAlert, Toastr)
- Remaining plugin files (toastr.ts, notyf.ts)

Kept type annotations and removed only descriptive comments, examples,
and file headers following Symfony's concise documentation style.
2026-01-16 00:40:14 +01:00
..

PHPFlasher SweetAlert Adapter

Latest Stable Version Total Downloads License

SweetAlert2 adapter for PHPFlasher.

Installation

composer require php-flasher/flasher-sweetalert-laravel  # Laravel
composer require php-flasher/flasher-sweetalert-symfony   # Symfony

Quick Start

// Basic usage
flash('sweetalert')->success('Operation completed successfully!');

// With options
flash('sweetalert')->info('New message', [
    'timer' => 3000,
    'toast' => true,
]);

Documentation

For complete documentation, visit php-flasher.io.

License

MIT