Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Sweet Alert Laravel Package

realrashid/sweet-alert

Laravel wrapper for SweetAlert2 that makes it easy to show stylish alert, toast, and confirmation dialogs. Flash messages from controllers or middleware, with helpers for success/error/warning/info, custom options, and Blade support for quick integration.

View on GitHub
Deep Wiki
Context7

Alert Demo

Success Alert
alert()->success('SuccessAlert','Lorem ipsum dolor sit amet.');
Info Alert
alert()->info('InfoAlert','Lorem ipsum dolor sit amet.');
Warning Alert
alert()->warning('WarningAlert','Lorem ipsum dolor sit amet.');
Error Alert
alert()->error('ErrorAlert','Lorem ipsum dolor sit amet.');
Question Alert
alert()->question('QuestionAlert','Lorem ipsum dolor sit amet.');
Image Alert
alert()->image('Image Title!','Image Description','Image URL','Image Width','Image Height','Image Alt');
Html Alert
alert()->html('<i>HTML</i> <u>example</u>',"
  You can use <b>bold text</b>,
  <a href='//github.com'>links</a>
  and other HTML tags
",'success');

Toast Demo

Set the Default Toast Position in config/sweetalert.php file OR use the position() helper method!

Success Toast
toast('Success Toast','success');
Info Toast
toast('Info Toast','info');
Warning Toast
toast('Warning Toast','warning');
Question Toast
toast('Question Toast','question');
Error Toast
toast('Error Toast','error');
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle