New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

limatheus/livewire-crud

Generate Basic Crud Operations With Livewire and Tailwind Css For Laravel
2
Install
composer require limatheus/livewire-crud
Latest Version:v1.0.4
Laravel:7 – 11
License:MIT
Last Updated:Feb 7, 2025
Links: GitHub  ·  Packagist
Maintainer: limatheus

LiveCrud

Packagist License Packagist Downloads Packagist Version

Live Crud Generator. This package generates Basic Crud with Livewire.

Features

  • Generate Complete Crud With Livewire Component and Blade Files
  • Create / Update / Delete Functional
  • Real Time Validation Already Added
  • Fuzzy Search Functional

Installation

Via Composer

composer require limatheus/livewire-crud

Prerequisites

  • Models should be in app/Models directory
  • Crud of only $fillable property will be generated
protected $fillable = ['name','username'];

Usage

php artisan crud:make Name_Of_Your_Model
  • This Command Will Generate Two Files
    • First Will be in app/HttpLivewire
    • Second Will be in resources/views/Livewire

For Bootstrap 4

  1. Publish config and change template = 'bootstrap'

  2. Please copy this script and paste in your layout just after @livewireScripts tag



<script type="text/javascript">
    window.livewire.on('showConfirmDelete', () => {
        $('#deleteModal').modal('show');
    });
    window.livewire.on('hideConfirmDelete', () => {
        $('#deleteModal').modal('hide');
    });
    window.livewire.on('showForm', () => {
                $('#showForm').modal('show');
            });
    window.livewire.on('hideForm', () => {
        $('#showForm').modal('hide');
    });
</script>


Security

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits

License

license. Please see the license file for more information.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

651,963,193 9,701
laravel/framework

The Laravel Framework.

610,364,751 34,988
laravel/tinker

Powerful REPL for the Laravel framework.

518,004,183 7,444
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

435,097,283 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

412,228,818 4,664

Version History

Version Released Laravel License
v1.0.4 ~7|~8|~9|~10|^11 MIT
v1.0.3 ~7|~8|~9|~10|^11 MIT
v1.0.2 ~7|~8|~9|~10|^11 MIT
v1.0.1 ~7|~8|~9|~10|^11 MIT
v1.0.0 ~7|~8|~9|~10|^11 MIT