PHPackages                             chrishenrique/livewire-modal-crud - 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. [Admin Panels](/categories/admin)
4. /
5. chrishenrique/livewire-modal-crud

ActiveLibrary[Admin Panels](/categories/admin)

chrishenrique/livewire-modal-crud
=================================

Livewire Modals Crud easy

1.2.0(1mo ago)127MITPHPPHP ^8

Since Apr 25Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/chrishenrique/livewire-modal-crud)[ Packagist](https://packagist.org/packages/chrishenrique/livewire-modal-crud)[ Docs](https://github.com/chrishenrique16/livewire-modal-crud)[ RSS](/packages/chrishenrique-livewire-modal-crud/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (4)Used By (0)

Livewire Modal CRUD
===================

[](#livewire-modal-crud)

This package provides a simple structure to implement CRUD operations (Create, Read, Update, Delete) using modals with [Livewire](https://laravel-livewire.com/) in Laravel. It's ideal for applications that need a dynamic and interactive interface without page reloads.

✨ Features
----------

[](#-features)

- Ready-to-use Livewire components with modal support
- Tailwind CSS integration for responsive styling
- Code organization following Laravel best practices
- Easy customization and extensibility

🚀 Installation
--------------

[](#-installation)

To install the package via Composer, run:

```
composer require chrishenrique/livewire-modal-crud
```

After installation, publish the files with the commands below:

```
php artisan vendor:publish --tag=modal-config
php artisan vendor:publish --tag=modal-js
php artisan vendor:publish --tag=modal-views
```

⚙️ Setup
--------

[](#️-setup)

Make sure Livewire is installed in your project. If not, install it with:

```
composer require livewire/livewire
```

Include Livewire styles and scripts in your Blade layout:

```

    ...
    @livewireStyles

    ...
    @livewireScripts

```

🧩 Usage
-------

[](#-usage)

Include the `modal` component once in your layout (usually in your main Blade view):

```
@livewire('modal')
```

### Opening a modal

[](#opening-a-modal)

To open a modal dynamically, use:

```
 New
```

### Modes

[](#modes)

The default accepted values for the `mode` argument are:

- `'create'`
- `'edit'`
- `'delete'`
- `'show'`

However, you can use any custom `string` value according to your app logic.

### Passing `id` for model binding

[](#passing-id-for-model-binding)

To open a modal with a specific model instance, just include the `id` parameter:

```
 Edit
```

📝 License
---------

[](#-license)

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.

---

For help, suggestions, or contributions, visit the GitHub repository: [chrishenrique/livewire-modal-crud](https://github.com/chrishenrique/livewire-modal-crud)

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance89

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

Every ~164 days

Total

3

Last Release

54d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8f5b9b3f14f076efdba2a99ffed8e30fc26c028dd2094b6f81505ad0a150ad03?d=identicon)[chrishenrique16](/maintainers/chrishenrique16)

---

Top Contributors

[![chrishenrique](https://avatars.githubusercontent.com/u/15872036?v=4)](https://github.com/chrishenrique "chrishenrique (8 commits)")

---

Tags

phplaravellaravel-packagelivewirecrudmodal

### Embed Badge

![Health badge](/badges/chrishenrique-livewire-modal-crud/health.svg)

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

###  Alternatives

[ibex/crud-generator

Laravel CRUD Generator

706235.0k](/packages/ibex-crud-generator)[takielias/tablar-crud-generator

Laravel Tablar Crud Generator based on https://github.com/takielias/tablar

315.6k](/packages/takielias-tablar-crud-generator)[inani/nova-resource-maker

A Laravel Nova package to help you generate resources fields

2513.7k](/packages/inani-nova-resource-maker)

PHPackages © 2026

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