PHPackages                             farhanianz/sweet-alert - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. farhanianz/sweet-alert

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

farhanianz/sweet-alert
======================

A BEAUTIFUL, RESPONSIVE, CUSTOMIZABLE, ACCESSIBLE (WAI-ARIA) REPLACEMENT FOR JAVASCRIPT'S POPUP BOXES FOR LARAVEL BY RASHID ALI

v3.1.5(5y ago)03MITPHPPHP ^7.2

Since Nov 26Pushed 5y agoCompare

[ Source](https://github.com/farhanianz/sweet-alert)[ Packagist](https://packagist.org/packages/farhanianz/sweet-alert)[ Docs](https://github.com/realrashid/sweet-alert)[ Fund](https://ko-fi.com/realrashid)[ Fund](https://www.buymeacoffee.com/realrashid)[ RSS](/packages/farhanianz-sweet-alert/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (2)Versions (18)Used By (0)

 [ ![SweetAlert2](docs/imgs/logo/logo.png) ](https://realrashid.github.io/sweet-alert/)

A BEAUTIFUL, RESPONSIVE, CUSTOMIZABLE, ACCESSIBLE (WAI-ARIA) REPLACEMENT FOR JAVASCRIPT'S POPUP BOXES FOR LARAVEL

 [![](https://camo.githubusercontent.com/4fbce3df17d5b3f11c6087f9554390bb4a174689bea9302c46dc6e3b9f3efc52/68747470733a2f2f7261772e6769746875622e636f6d2f7377656574616c657274322f7377656574616c657274322f6d61737465722f6173736574732f7377656574616c657274322e676966)](https://camo.githubusercontent.com/4fbce3df17d5b3f11c6087f9554390bb4a174689bea9302c46dc6e3b9f3efc52/68747470733a2f2f7261772e6769746875622e636f6d2f7377656574616c657274322f7377656574616c657274322f6d61737465722f6173736574732f7377656574616c657274322e676966)

[![Total Downloads](https://camo.githubusercontent.com/c3974f9965d7e33fa98438d60097aa46dd79ca6161d35c6d49d492417e160252/68747470733a2f2f706f7365722e707567782e6f72672f7265616c7261736869642f73776565742d616c6572742f642f746f74616c2e737667)](https://packagist.org/packages/realrashid/sweet-alert)[![Latest Stable Version](https://camo.githubusercontent.com/dc7fcc6f75157a293f174c6dde961177a103d4893fc3d0adba0a953a6566b2e5/68747470733a2f2f706f7365722e707567782e6f72672f7265616c7261736869642f73776565742d616c6572742f762f737461626c652e737667)](https://packagist.org/packages/realrashid/sweet-alert)[![Support me on Patreon](https://camo.githubusercontent.com/358702195289c93969f0c294caf64cce19203352d4fcdc4e5958d381bc357c21/687474703a2f2f696f6e69636162697a61752e6769746875622e696f2f6261646765732f70617472656f6e2e737667)](https://www.patreon.com/realrashid)[![License](https://camo.githubusercontent.com/d73e0e4be2b72d4787ded49556331c50d432eb18298e37fb84fdf094be4beccc/68747470733a2f2f706f7365722e707567782e6f72672f7265616c7261736869642f73776565742d616c6572742f6c6963656e73652e737667)](https://packagist.org/packages/realrashid/sweet-alert)

Install
=======

[](#install)

To get started with SweetAlert2, use Composer to add the package to your project's dependencies:

```
composer require realrashid/sweet-alert

```

###  [Documentation](https://realrashid.github.io/sweet-alert)

[](#----documentation)

###  [Checkout the Js Library](https://github.com/sweetalert2/sweetalert2)

[](#----checkout-the-js-library)

\[[Become a backer](https://opencollective.com/sweet-alert#backer)\] [![](https://camo.githubusercontent.com/791ac77c70bb4d6f193bbcf78fdf7d1d5686e9d46ca1c4640794647043b19c35/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f73776565742d616c6572742f6261636b6572732e7376673f77696474683d383930)](https://opencollective.com/sweet-alert#backers)

Sponsors
--------

[](#sponsors)

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. \[[Become a sponsor](https://opencollective.com/sweet-alert#sponsor)\] [![](https://camo.githubusercontent.com/55502c554ec95cef2c1287794475942ef3702bdb9a44edb73805b9871191e85c/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f73776565742d616c6572742f73706f6e736f722f302f6176617461722e737667)](https://opencollective.com/sweet-alert/sponsor/0/website)

❤️ Open-Source Software - Give ⭐️
---------------------------------

[](#️-open-source-software---give-️)

I have included the awesome `symfony/thanks` composer package as a dev dependency. Let your OS package maintainers know you appreciate them by starring the packages you use. Simply run `composer thanks` after installing this package. (And not to worry, since it's a dev-dependency it won't be installed in your live environment.)

License
-------

[](#license)

SweetAlert2 is open-sourced software licensed under the MIT License (MIT). Please see [License File](LICENSE.md) for more information.

 **Made ❤️ with Pakistan**

****> note: if you are using sweet-alert v1.0 you can get README for v1.0 from [here](https://github.com/realrashid/sweet-alert/blob/1.0/readme.md)****

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 83.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~58 days

Recently: every ~39 days

Total

17

Last Release

2161d ago

Major Versions

v1.1.2 → v2.02019-06-14

v2.0.3 → v3.02019-11-21

PHP version history (4 changes)1.0.x-devPHP &gt;=5.4.0

v1.1PHP ~5.6|~7.0

v2.0PHP ~5.6|~7.0|~7.1.3

v2.0.1PHP ^7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/a3b8e5a4579fe07a2aefa53a9f0e4bfa3bd51510b8cca6890852dadf7dd1cc57?d=identicon)[farhanshares](/maintainers/farhanshares)

---

Top Contributors

[![realrashid](https://avatars.githubusercontent.com/u/15607685?v=4)](https://github.com/realrashid "realrashid (66 commits)")[![FarhanShares](https://avatars.githubusercontent.com/u/3446817?v=4)](https://github.com/FarhanShares "FarhanShares (4 commits)")[![ericlbarnes](https://avatars.githubusercontent.com/u/116662?v=4)](https://github.com/ericlbarnes "ericlbarnes (2 commits)")[![jnbn](https://avatars.githubusercontent.com/u/112425?v=4)](https://github.com/jnbn "jnbn (1 commits)")[![maki10](https://avatars.githubusercontent.com/u/13304146?v=4)](https://github.com/maki10 "maki10 (1 commits)")[![owenvoke](https://avatars.githubusercontent.com/u/1899334?v=4)](https://github.com/owenvoke "owenvoke (1 commits)")[![stefro](https://avatars.githubusercontent.com/u/5249559?v=4)](https://github.com/stefro "stefro (1 commits)")[![thewebartisan7](https://avatars.githubusercontent.com/u/57477934?v=4)](https://github.com/thewebartisan7 "thewebartisan7 (1 commits)")[![Faber44](https://avatars.githubusercontent.com/u/9255342?v=4)](https://github.com/Faber44 "Faber44 (1 commits)")[![hatamiarash7](https://avatars.githubusercontent.com/u/16325641?v=4)](https://github.com/hatamiarash7 "hatamiarash7 (1 commits)")

---

Tags

laravelnotifierlaravel-packagealerttoastsweet-alertnotysweet-alert2

### Embed Badge

![Health badge](/badges/farhanianz-sweet-alert/health.svg)

```
[![Health](https://phpackages.com/badges/farhanianz-sweet-alert/health.svg)](https://phpackages.com/packages/farhanianz-sweet-alert)
```

###  Alternatives

[realrashid/sweet-alert

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

1.2k2.9M21](/packages/realrashid-sweet-alert)[masmerise/livewire-toaster

Beautiful toast notifications for Laravel / Livewire.

505550.3k6](/packages/masmerise-livewire-toaster)[imanghafoori/laravel-nullable

A package to help you write expressive defensive code in a functional manner

151423.7k6](/packages/imanghafoori-laravel-nullable)[fresns/plugin-manager

Enhance Laravel Apps: Organized &amp; Scalable

523.2k2](/packages/fresns-plugin-manager)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
