PHPackages                             uvatechs/livewire-sweetalert - 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. uvatechs/livewire-sweetalert

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

uvatechs/livewire-sweetalert
============================

Reusable SweetAlert integration for Laravel Livewire

v1.0.0(1y ago)00PHPPHP ^8.0

Since May 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/uvatechs/livewire-sweetalert)[ Packagist](https://packagist.org/packages/uvatechs/livewire-sweetalert)[ RSS](/packages/uvatechs-livewire-sweetalert/feed)WikiDiscussions main Synced today

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

Livewire SweetAlert
===================

[](#livewire-sweetalert)

A simple reusable package to integrate SweetAlert2 with Laravel Livewire.

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

[](#installation)

1. Add the package to your Laravel app (if locally linked):

```
composer require uvatechs/livewire-sweetalert
```

2. Add component to your layout:

```

```

3. Use the trait in your Livewire components:

```
use Uvatechs\\LivewireSweetAlert\\Traits\\WithSweetAlert;

class SomeComponent extends Component
{
    use WithSweetAlert;

    public function save()
    {
        $this->alert('Saved!', 'Item saved successfully.', 'success');
    }
}
```

4. Trigger confirmation dialogs:

```
$this->confirm('deleteConfirmed', ['id' => $id], [
            'title' => 'Are you sure?',
            'text' => 'This action cannot be undone.',
        ]);
```

```
public function deleteConfirmed($id)
    {
        // Handle confirmed deletion...
    }
```

Publishing Views
----------------

[](#publishing-views)

```
php artisan vendor:publish --tag=views
```

### Contributing

[](#contributing)

Contributions are welcome! Feel free to open issues or submit pull requests.

### License

[](#license)

This package is open-sourced software licensed under the MIT license.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance46

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

415d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20165790?v=4)[Bokele Wakiza Franck](/maintainers/bokele)[@bokele](https://github.com/bokele)

---

Top Contributors

[![bokele](https://avatars.githubusercontent.com/u/20165790?v=4)](https://github.com/bokele "bokele (3 commits)")

### Embed Badge

![Health badge](/badges/uvatechs-livewire-sweetalert/health.svg)

```
[![Health](https://phpackages.com/badges/uvatechs-livewire-sweetalert/health.svg)](https://phpackages.com/packages/uvatechs-livewire-sweetalert)
```

###  Alternatives

[livewire/flux

The official UI component library for Livewire.

9527.8M126](/packages/livewire-flux)[jantinnerezo/livewire-alert

This package provides a simple alert utilities for your livewire components.

8131.4M20](/packages/jantinnerezo-livewire-alert)[leandrocfe/filament-apex-charts

Apex Charts integration for Filament PHP.

4911.6M11](/packages/leandrocfe-filament-apex-charts)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

725173.2k14](/packages/tallstackui-tallstackui)[venturedrake/laravel-crm

A free open source CRM built as a package for laravel projects

43311.2k](/packages/venturedrake-laravel-crm)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21259.6k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

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