PHPackages                             ignatius-n/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. ignatius-n/sweet-alert

ActiveLibrary

ignatius-n/sweet-alert
======================

'A quick PHP wrapper for Sweet-Alert Package'

00[2 PRs](https://github.com/ignatius-n/sweet-alert/pulls)PHP

Since Mar 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ignatius-n/sweet-alert)[ Packagist](https://packagist.org/packages/ignatius-n/sweet-alert)[ RSS](/packages/ignatius-n-sweet-alert/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

'A quick PHP wrapper for Sweet-Alert Package'
=============================================

[](#a-quick-php-wrapper-for-sweet-alert-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/73a5ce820834f4040a798dda15b554494409682a1f1fb7d2a9024a58bc752301/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f69676e61746975732d6e2f73776565742d616c6572742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ignatius-n/sweet-alert)[![GitHub Tests Action Status](https://camo.githubusercontent.com/0b1ece36e111547e1a92fcbe417b92a841399d1250c7ac451301037025e63adc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f69676e61746975732d6e2f73776565742d616c6572742f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/ignatius-n/sweet-alert/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/7a4ae2f8bb8f846c1edc2125497fa2461750d28ae36b0802f28bd47ea0103bf0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f69676e61746975732d6e2f73776565742d616c6572742f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/ignatius-n/sweet-alert/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/0b6e1016e6b7eab52390d7c935f0d2a6050fcbeb9f93aa87649163526f1c36d1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f69676e61746975732d6e2f73776565742d616c6572742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ignatius-n/sweet-alert)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/6761306952d617e6ed64b3be11af25a1cae2c097dfc1bf0b69460ee0301d2609/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f73776565742d616c6572742e6a70673f743d31)](https://spatie.be/github-ad-click/sweet-alert)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require ignatius-n/sweet-alert
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="sweet-alert-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="sweet-alert-config"
```

This is the contents of the published config file:

```
return [
];
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="sweet-alert-views"
```

Usage
-----

[](#usage)

```
$sweetAlert = new Ignatiusn\SweetAlert();
echo $sweetAlert->echoPhrase('Hello, Ignatiusn!');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [ignatius-n](https://github.com/ignatius-n)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/1993d58e470120b6ef44c78740be7fe8346b9632a4d59f3af9c96c2d92b67f84?d=identicon)[Ignatius](/maintainers/Ignatius)

---

Top Contributors

[![ignatius-n](https://avatars.githubusercontent.com/u/85919389?v=4)](https://github.com/ignatius-n "ignatius-n (7 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

### Embed Badge

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

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

PHPackages © 2026

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