Registry / web-framework / realrashid-sweet-alert

realrashid-sweet-alert

JSON →
library7.3.2phppackagistunverified

Laravel Sweet Alert Is A Package For Laravel Provides An Easy Way To Display Alert Messages Using The SweetAlert2 Library.

composer require realrashid/sweet-alert
INSTALL
IMPORT
SIG · REALRASHID-SWEET-A
R
realrashid-sweet-alert
web-frameworkphpv7.3.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SweetAlertServiceProvider
✓ use RealRashid\SweetAlert\SweetAlertServiceProvider;

Register the service provider and display a success alert.

use RealRashid\SweetAlert\SweetAlertServiceProvider; // In Laravel config/app.php providers array: // RealRashid\SweetAlert\SweetAlertServiceProvider::class // Then use the alert() helper: alert()->success('Success', 'Operation completed!');
Debug
Known issues
gotchaRequires Laravel; not usable standalone.
fix
Ensure Laravel is installed and the service provider is registered.
affects: *
Upgrade
Version history
7.3.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
realrashid-sweet-alert — pip install realrashid-sweet-alert · libregistry