PHPackages                             yii-tools/sweetalert2-asset - 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. yii-tools/sweetalert2-asset

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

yii-tools/sweetalert2-asset
===========================

sweetalert2-asset

1.0.0(2y ago)13.0k[1 PRs](https://github.com/yii-tools/sweetalert2-asset/pulls)mitPHPPHP ^8.1

Since May 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/yii-tools/sweetalert2-asset)[ Packagist](https://packagist.org/packages/yii-tools/sweetalert2-asset)[ RSS](/packages/yii-tools-sweetalert2-asset/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (9)Versions (3)Used By (0)

 [ ![](https://avatars.githubusercontent.com/u/121752654?s=200&v=4) ](https://github.com/yii-tools/template) [ ![](https://camo.githubusercontent.com/60f75832156fb31447bae46146b141520f0d12d33846db8ec93c35336c1bc763/68747470733a2f2f7377656574616c657274322e6769746875622e696f2f696d616765732f5377656574416c657274322e706e67) ](https://sweetalert2.github.io/#download)

Asset SweetAlert2 for YiiFramework v. 3.0.
==========================================

[](#asset-sweetalert2-for-yiiframework-v-30)

Requirements
------------

[](#requirements)

The minimun version of PHP required by this package is PHP 8.1.

For install this package, you need [composer](https://getcomposer.org/) and [npm](https://www.npmjs.com/).

Install
-------

[](#install)

Preferably install with composer:

```
composer require yii-tools/sweetalert2-asset
```

Usage
-----

[](#usage)

[Check the documentation docs](/docs/README.md) to learn about usage.

Testing
-------

[](#testing)

[Check the documentation testing](/docs/testing.md) to learn about testing.

CI status
---------

[](#ci-status)

[![build](https://github.com/yii-tools/sweetalert2-asset/actions/workflows/build.yml/badge.svg)](https://github.com/yii-tools/sweetalert2-asset/actions/workflows/build.yml)[![codecov](https://camo.githubusercontent.com/9c72bd688ebfcec6421eba6dbc192306eb59027047e5c31e943eaaaf7769c2de/68747470733a2f2f636f6465636f762e696f2f67682f7969692d746f6f6c732f7377656574616c657274322d61737365742f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d4d4630585547564c5943)](https://codecov.io/gh/yii-tools/sweetalert2-asset)[![Mutation testing badge](https://camo.githubusercontent.com/d8cf177410ade561fc37ecd2c0e177793ebd5f5f0e7ee0791ef198a72cc4fe54/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d2532467969692d746f6f6c732532467377656574616c657274322d61737365742532466d61696e)](https://dashboard.stryker-mutator.io/reports/github.com/yii-tools/sweetalert2-asset/main)[![static analysis](https://github.com/yii-tools/sweetalert2-asset/actions/workflows/static.yml/badge.svg)](https://github.com/yii-tools/sweetalert2-asset/actions/workflows/static.yml)[![type-coverage](https://camo.githubusercontent.com/b4c16362fe188c28a62dac0a8981837b43a51e7c5621d26b331d213fbbd63019/68747470733a2f2f73686570686572642e6465762f6769746875622f7969692d746f6f6c732f7377656574616c657274322d61737365742f636f7665726167652e737667)](https://shepherd.dev/github/yii-tools/sweetalert2-asset)[![StyleCI](https://camo.githubusercontent.com/16818ab08bf71c64bd2eac738d89b9a740a93aeb2f138c0f2b5fd9742d0b4241/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3634303930343038322f736869656c643f6272616e63683d6d61696e)](https://github.styleci.io/repos/640904082?branch=main)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Our social networks
-------------------

[](#our-social-networks)

[![Twitter](https://camo.githubusercontent.com/d077c362ac639792171af8bc002ee827816733dfc0925f70b557e6d151022226/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f747769747465722d666f6c6c6f772d3144413146323f6c6f676f3d74776974746572266c6f676f436f6c6f723d314441314632266c6162656c436f6c6f723d3535353535353f7374796c653d666c6174)](https://twitter.com/Terabytesoftw)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1093d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/524d2b46690f41fce7188d369488a35e7624e6c5a264d82aacd08548bfd156ab?d=identicon)[terabytesoftw](/maintainers/terabytesoftw)

---

Top Contributors

[![terabytesoftw](https://avatars.githubusercontent.com/u/42547589?v=4)](https://github.com/terabytesoftw "terabytesoftw (17 commits)")

---

Tags

assetstablesweetalert2yii-toolsyii3assetyii3sweetalert2yii-tools

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm, Rector

Type Coverage Yes

### Embed Badge

![Health badge](/badges/yii-tools-sweetalert2-asset/health.svg)

```
[![Health](https://phpackages.com/badges/yii-tools-sweetalert2-asset/health.svg)](https://phpackages.com/packages/yii-tools-sweetalert2-asset)
```

###  Alternatives

[rmrevin/yii2-fontawesome

Asset Bundle for Yii2 with Font Awesome

1474.0M134](/packages/rmrevin-yii2-fontawesome)

PHPackages © 2026

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