承接 iamchris/livewire-autocrud 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

iamchris/livewire-autocrud

最新稳定版本:v1.0.0

Composer 安装命令:

composer require iamchris/livewire-autocrud

包简介

A Livewire 3 package to generate CRUD scaffolding.

README 文档

README

A Laravel package to generate Livewire CRUD scaffolding for your models, similar to Symfony's make:crud.

Features

  • Generates Livewire components for CRUD operations (Index, Create, Edit, Show).
  • Automatically creates Blade views for each component.
  • Supports dynamic form generation based on the model's fillable fields.
  • Easy to use with a single Artisan command.

Installation

  1. Install via Composer: Run the following command in your Laravel project:
    composer require iamchris/livewire-autocrud
    
    

Generate CRUD scaffolding for a model:

 Publish the Package Configuration (if applicable):


 php artisan vendor:publish --provider="iamchris\LivewireAutoCrud\LivewireAutoCrudServiceProvider"


To generate CRUD scaffolding for a model, run:


php artisan make:livewire-crud Product

This will create the following:

    Livewire Components:

        Product/Index.php

        Product/Create.php

        Product/Edit.php

        Product/Show.php

    Blade Views:

        resources/views/livewire/product/index.blade.php

        resources/views/livewire/product/create.blade.php

        resources/views/livewire/product/edit.blade.php

        resources/views/livewire/product/show.blade.php

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-02-15