mwguerra/crud-artisan 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

mwguerra/crud-artisan

最新稳定版本:0.0.1

Composer 安装命令:

composer require mwguerra/crud-artisan

包简介

A Laravel package to generate CRUD controllers and Vue components for Inertia.js

README 文档

README

CRUD Artisan is a Laravel package designed to accelerate development by simplifying the creation of CRUD (Create, Read, Update, Delete) operations. With a series of intuitive Artisan commands, developers can generate models, controllers, views, and routes for their application's entities, focusing more on developing unique features rather than boilerplate code.

Features

  • Generate complete CRUD operations with a single command.
  • Customizable templates for views, models, and controllers.
  • Support for Laravel's latest versions.
  • Easy integration into existing Laravel projects.
  • Configuration options to tailor the CRUD operations to your project's needs.

Installation

You can install the package via Composer. Run the following command in your Laravel project:

composer require mwguerra/crud-artisan

After installation, publish the package's configuration file to customize the templates and settings:

php artisan vendor:publish --provider="Mwguerra\CrudArtisan\CrudArtisanServiceProvider"

Usage

To create a complete CRUD for an entity, run:

php artisan make:crud NameOfYourEntity

This command will generate:

  • A Model for the entity.
  • A Controller with methods for creating, reading, updating, and deleting the entity.
  • Views for each of the CRUD operations.
  • Routes for accessing the CRUD operations.

Customizing Templates

You can customize the templates used for generating views, models, and controllers by editing the published configuration file and the template files in the resources/views/vendor/crud-artisan directory.

Configuration

The config/crud-artisan.php file allows you to define defaults and behaviors for the CRUD generation. You can specify namespaces, paths, and template specifics.

Contributing

Contributions are welcome and will be fully credited. Please see CONTRIBUTING for details.

License

The CRUD Artisan package is open-sourced software licensed under the MIT license.

Support

If you have any questions or encounter issues, please open an issue on the GitHub repository.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-02-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固