PHPackages                             steelants/modal - 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. steelants/modal

Abandoned → [steelants/laravel-boilerplate](/?search=steelants%2Flaravel-boilerplate)Library

steelants/modal
===============

Package for opening any livewire component inside modal. Styled with Bootstrap 5.

3.0.1(5mo ago)23.2k↓41.7%1MITPHP

Since Sep 20Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/steelants/Livewire-Modal)[ Packagist](https://packagist.org/packages/steelants/modal)[ RSS](/packages/steelants-modal/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (36)Used By (1)

Livewire Modal
==============

[](#livewire-modal)

Package for opening any Livewire component inside modal. Powered by Livewire 3 and Bootstrap 5.

### Created by: [SteelAnts s.r.o.](https://www.steelants.cz/)

[](#created-by-steelants-sro)

[![Total Downloads](https://camo.githubusercontent.com/d5756c1dd3c04ed40dc769aa3140a83c04d7de9fe3a09b81581ae47dde5d39a6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f737465656c616e74732f6d6f64616c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/steelants/modal)

Usage
-----

[](#usage)

### Include modal in layout

[](#include-modal-in-layout)

```
@livewire('modal-basic', key('modal'))
```

### Opening modal from blade or JavaScript

[](#opening-modal-from-blade-or-javascript)

```
Open modal
```

### Opening modal from component

[](#opening-modal-from-component)

```
$this->dispatch('openModal', 'livewire-component-name', 'Modal title', $componentParameters)
```

openModal parameters
--------------------

[](#openmodal-parameters)

```
/**
 * Open modal
 *
 * @param string|Array $livewireComponents Component name, can be array
 * @param string $title Modal title
 * @param array $parameters Component parameters
 * @return void
 */
public function openModal($livewireComponents, $title = "", $parameters = [])
```

Example
-------

[](#example)

```
Create User

Edit User
```

```
use Livewire\Component;

class UserForm extends Component
{
  public function mount(User $user)
  {
    $this->user = $user;
  }
}
```

Contributors
------------

[](#contributors)

[ ![](https://camo.githubusercontent.com/6e461e7155c835ee368f0f502ed78db9c8c42d0b04d045bf1c04778e484a0f53/68747470733a2f2f636f6e747269622e726f636b732f696d6167653f7265706f3d737465656c616e74732f6c697665776972652d6d6f64616c)](https://github.com/steelants/livewire-modal/graphs/contributors)Other Packages
--------------

[](#other-packages)

[steelants/laravel-auth](https://github.com/steelants/laravel-auth)[steelants/laravel-boilerplate](https://github.com/steelants/Laravel-Boilerplate)[steelants/datatable](https://github.com/steelants/Livewire-DataTable)[steelants/form](https://github.com/steelants/Laravel-Form)[steelants/modal](https://github.com/steelants/Livewire-Modal)[steelants/laravel-tenant](https://github.com/steelants/Laravel-Tenant)

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance69

Regular maintenance activity

Popularity23

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~24 days

Recently: every ~18 days

Total

34

Last Release

178d ago

Major Versions

0.0.15 → v1.0.212024-01-11

1.0.23 → 2.0.02024-03-13

2.1.5 → 3.0.02025-11-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/3dc98a78c37f6eea8dc7942cdace8a805ba6430a020e6ab54c62a0639fe51f38?d=identicon)[JonatanRek](/maintainers/JonatanRek)

---

Top Contributors

[![GamerClassN7](https://avatars.githubusercontent.com/u/22167469?v=4)](https://github.com/GamerClassN7 "GamerClassN7 (19 commits)")[![Xinatorus](https://avatars.githubusercontent.com/u/17276754?v=4)](https://github.com/Xinatorus "Xinatorus (17 commits)")[![Imendin](https://avatars.githubusercontent.com/u/3099109?v=4)](https://github.com/Imendin "Imendin (5 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/steelants-modal/health.svg)

```
[![Health](https://phpackages.com/badges/steelants-modal/health.svg)](https://phpackages.com/packages/steelants-modal)
```

###  Alternatives

[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4205.3M84](/packages/livewire-volt)[namu/wirechat

A Laravel Livewire messaging app for teams with private chats and group conversations.

54324.5k](/packages/namu-wirechat)[mhmiton/laravel-modules-livewire

Using Laravel Livewire in Laravel Modules package with automatically registered livewire components for every modules.

236409.6k9](/packages/mhmiton-laravel-modules-livewire)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)[lakm/laravel-comments

Integrate seamless commenting functionality into your Laravel project.

40012.9k1](/packages/lakm-laravel-comments)[marcorieser/statamic-livewire

A Laravel Livewire integration for Statamic.

2381.5k10](/packages/marcorieser-statamic-livewire)

PHPackages © 2026

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