PackageTrack
Sign in Get early access

realrashid/sweet-alert

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

v7.3.2 3.2M downloads/mo #2795 most downloaded on Packagist realrashid/sweet-alert

What this package is like to depend on

Last release 4 months ago

29 Mar 2026

Ships fairly regularly

a new release about every 4 months

Nearly every release is documented

notes for 33 of 34 stable releases

Nothing withdrawn

no release was ever pulled

9 years old

34 releases · first in 2017

2 releases in the last 12 months

see the full history below

Release timeline

34 releases · Nov 2017 to Mar 2026
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 34
  1. v7.3.2 29 Mar 2026
    Release notes

    v7.3.2 - 2026-03-29

    • Laravel 12 compatibility fix for Alert facade (Closes #181)
    • Fixed: Corrected SweetAlertServiceProvider::register() — the bind() call was incorrectly passing a third argument (ToSweetAlert class string as $shared), causing Alert::warning and other facade methods to fail under Laravel 12's stricter container resolution
    • Added @method PHPDoc annotations to the Alert facade for full IDE and static-analysis support
    Open source →
    Release notes
    • Laravel 12 compatibility fix for Alert facade (Closes #181)
    • Fixed: Corrected SweetAlertServiceProvider::register() — the bind() call was incorrectly passing a third argument (ToSweetAlert class string as $shared), causing Alert::warning and other facade methods to fail under Laravel 12's stricter container resolution
    • Added @method PHPDoc annotations to the Alert facade for full IDE and static-analysis support
    Open source →
  2. v7.3.1 28 Mar 2026
    Release notes

    v7.3.1

    Release Notes

    • Fixed: Prevent Blade from compiling example route in resources/boost/guidelines/core.blade.php by escaping Blade braces in the example (use @{{ … }}). Fixes #190 — reported by @mohammedterfa.
    • Docs Updated

    Upgrade notes:

    • This is a documentation-only fix; there are no breaking changes.
    Open source →
    Release notes
    • Fixed: Prevent Blade from compiling example route in resources/boost/guidelines/core.blade.php by escaping Blade braces in the example (use @{{ … }}). Fixes #190 — reported by @mohammedterfa.
    Open source →
  3. v7.3.0 25 Feb 2025
    Release notes
    • Added Laravel 13 Support
    • Updated bundled SweetAlert2
    • Added Laravel Boost AI guidelines and Boost Skill
    • Docs Updated

    Upgrade notes:

    • Ensure your application meets Laravel 13 PHP requirements before upgrading.
    • Keep using asset('vendor/sweetalert/sweetalert.all.js') if you rely on the bundled JS path.
    Open source →
    Release notes
    • Added Laravel 13 Support
    • Updated bundled SweetAlert2
    • Added Laravel Boost AI guidelines and Boost Skill
    • Docs Updated
    Open source →
  4. v7.2.0 15 Jun 2024
    Release notes

    v7.2.0 - 2024-06-15

    • Added Laravel 11 Support
    • Upgraded SweetAlert2 to the latest version
    • Bug Fixes
    • Updated Documentation

    What's Changed

    • Fixed: Issue with Always/Never load JS config not working as expected (PR #172) by @hoRacy

    New Contributors

    Full Changelog: v7.1.1...v7.2.0

    Open source →
    Release notes
    • Added Laravel 11 Support
    • Upgraded SweetAlert2 to latest version
    • Bug Fixes
    • Docs Updated
    Open source →
  5. v7.1.1 02 Mar 2024
    Release notes
    • Added Laravel 10 Support
    Open source →
  6. v7.1.0 07 Aug 2023
    Release notes

    v7.1.0 - 2023-08-08

    • Upgraded SweetAlert2 to latest version
    • Customizable default confirm/cancel button texts. by @hakimzulkufli
    • Bug Fixes
    • Docs Updated

    Full Changelog: v7.0.0...v7.1.0

    Open source →
    Release notes
    • Upgraded SweetAlert2 to latest version
    • Bug Fixes
    • Docs Updated
    Open source →
  7. v7.0.0 20 Apr 2023
    Release notes

    v7.0.0 - 2023-04-20

    • Added confirmDelete function
    • Added themes feature
    • Upgraded SweetAlert2 to latest version
    • Bug Fixes
    • Docs Updated
    Open source →
    Release notes
    • Added confirmDelete function
    • Added themes feature
    • Upgraded SweetAlert2 to latest version
    • Bug Fixes
    • Docs Updated
    Open source →
  8. v6.0.0 15 Feb 2023
    Release notes

    v6.0.0 - 2023-02-15

    • Added Laravel 10 Support
    • Bug Fixes
    • Docs Updated

    What's Changed

    Full Changelog: v.5.1.1...v6.0.0

    Open source →
    Release notes
    • Added Laravel 10 Support
    • Bug Fixes
    • Docs Updated
    Open source →
  9. v5.1.0 28 May 2022
    Release notes

    v5.1.0

    • Added Laravel 9 Support
    • Bug Fixes
    • Docs Updated
    Open source →
    Release notes
    • Added Laravel 9 Support
    • Bug Fixes
    • Docs Updated
    Open source →
  10. v5.0.0 04 Feb 2022
    Release notes
    • Added Laravel 9 Support
    • Bug Fixes
    • Upgraded SweetAlert2 to latest version
    • Docs Updated
    Open source →
  11. v4.1.0 06 Nov 2021
    Release notes
    • Bug Fixes
    • Upgraded SweetAlert2 to latest version
    • Docs Updated
    Open source →
  12. v4.0.0 14 Jun 2021
    Release notes
    • Bug Fixes
    • Upgraded SweetAlert2 to latest version
    • .gitattributes file
    • Docs Updated
    Open source →
  13. v3.2.3 26 May 2021
    Release notes
    • Bug Fixes
    • Upgraded SweetAlert2 to latest version
    • Docs Updated
    Open source →
  14. v3.2.2 17 Feb 2021
    Release notes
    • Remove Laravel 6 Support
    • Upgraded SweetAlert2 to latest version
    • Docs Updated
    Open source →
  15. v3.2.1 14 Jan 2021
    Release notes
    • Fixed PHP 8 Issues
    • Upgraded SweetAlert2 to latest version
    • Docs Updated
    Open source →
  16. v3.2.0 02 Dec 2020
    Release notes
    • Added PHP8 Support
    • Upgraded SweetAlert2 to latest version
    • Docs Updated
    Open source →
  17. v3.1.7 09 Sep 2020
    Release notes
    • Added Support for Laravel 8
    • Upgraded SweetAlert2 to latest version
    • Minor Changes
    • Docs Updated
    Open source →
  18. v3.1.6 17 Jul 2020
    Release notes
    • Added flexibility to Always load the sweetalert.all.js and Never load the sweetalert.all.js by farhanianz
    • Upgraded SweetAlert2 to latest version
    • Minor Changes in Middleware.md
    • Docs Updated
    Open source →
  19. v3.1.5 11 Jun 2020
    Release notes
    • Upgraded SweetAlert2 to latest version
    • Minor Changes in Middleware
    • Docs Updated
    Open source →
  20. v3.1.4 31 Mar 2020
    Release notes
    • Upgraded SweetAlert2 to latest version
    • Added ability to custom css classes
    • Docs Updated
    Open source →
  21. v3.1.3 22 Feb 2020
    Release notes
    • Upgraded SweetAlert2 to latest version
    Open source →
  22. v3.1.2 24 Jan 2020
    Release notes
    • Upgraded SweetAlert2 to latest version
    • Prepare Laravel 7
    Open source →
  23. v3.1.1 07 Jan 2020
    Release notes
    • Upgraded SweetAlert2 to latest version
    • Added ability to activate or not the middleware error messages
    • Docs Updated
    Open source →
  24. v3.1.0 29 Dec 2019
    Release notes
    • Upgraded SweetAlert2 to latest version
    • Added Tidelift to funding.yaml
    • Added SECURITY.md in .github/SECURITY.md
    • Added timerProgressBar() method
    • Added PublishCommand to easily publish the package assets
    • Updated question() alert method
    • Refactor SweetAlertServiceProvider class
    • Refactor Toaster class
    • Refactor functions.php file
    • Updated PHPDocBlocks
    • Docs Updated
    Open source →
  25. v3.0.1 27 Nov 2019
    Release notes
    • Updated animation($showClass = [], $hideClass = []) to animation($showAnimation, $hideAnimation)
    • Docs Updated
    • Fixed animations issue
    Open source →
  26. v2.0.3 13 Oct 2019
    Release notes
    • Added symfony/thanks
    • Docs Updated
    • Fix some bugs
    Open source →
  27. v2.0.2 08 Sep 2019
    Release notes
    • Added Missing ^ indicator prevents Laravel from updating to 6.0.1 and up
    • Docs Updated
    • Fix some bugs
    Open source →
  28. v2.0.1 05 Sep 2019
    Release notes
    • Added support for Laravel 6.0
    • This release fixed #46
    • Docs Updated
    • Fix some bugs
    Open source →
  29. v1.1.2 29 Mar 2019
    Release notes
    • Upgraded SweetAlert2 to latest version
    • Added hideCloseButton() helper method
    • Added reverseButtons() helper method
    • Added image() method
    • Added addImage() helper method
    • Added position() helper method
    • Docs Updated
    • Fix some bugs
    Open source →
  30. v1.1.1 03 Nov 2018
    Release notes

    Added some new methods

    • alert() method
    • alert()->success() method
    • alert()->info() method
    • alert()->wanring() method
    • alert()->question() method
    • alert()->error() method
    • alert()->html() method
    • toast() method
    • showConfirmButton() helper method
    • showCloseButton() helper method
    • showCancelButton() helper method
    • persistent() helper method
    • autoClose() helper method
    • toToast() helper method
    • footer() helper method
    Open source →
  31. v3.0 21 Nov 2019
    Release notes
    • Upgraded SweetAlert2 to latest version
    • Added option to pass SweetAlert2 CDN link from included view
    • Updated animation($showClass = [], $hideClass = [])
    • Added buttonsStyling() method
    • Added iconHtml() method
    • Docs Updated
    • Fix some bugs
    Open source →
    Release notes
    • Upgraded SweetAlert2 to latest version
    • Added option to pass SweetAlert2 CDN link from included view
    • Updated animation($showClass = [], $hideClass = []) method
    • Added buttonsStyling() method
    • Added iconHtml() method
    • Docs Updated
    • Fix some bugs
    Open source →
  32. v2.0 14 Jun 2019
    Release notes
    • Upgraded SweetAlert2 to latest version
    • Added width() helper method
    • Added padding() helper method
    • Added background() helper method
    • Added animation() helper method
    • Added focusConfirm() helper method
    • Added focusCancel() helper method
    • Added CDN Support
    • Docs Updated
    • Fix some bugs

    Changes

    // From
    public function toast($title = '', $type = '', $position = 'bottom-right'){...}
    // To
    public function toast($title = '', $type = ''){...}
    
    // set the default position in package config file or use the helper method position()
    
    Open source →
  33. v1.1 04 Apr 2018

    Nothing published for this version

  34. v1.0 26 Nov 2017
    Release notes
    • Deprecated
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive