承接 tadasei/backend-crud-stubs 相关项目开发

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

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

tadasei/backend-crud-stubs

最新稳定版本:v2.12.0

Composer 安装命令:

composer require tadasei/backend-crud-stubs

包简介

A package that provides stubs for crud backend using inertia, blade and api stacks

README 文档

README

This package provides stubs for generating CRUD backends using different technology stacks in a Laravel application. It aims to simplify and streamline the process of creating common CRUD (Create, Read, Update, Delete) operations by providing pre-defined structures.

Features

  • Quickly generate CRUD backends for different stacks.
  • Customize and extend generated code to fit your project's needs.
  • Improve development efficiency by eliminating repetitive tasks.

Installation

You can install the package via Composer by running:

composer require tadasei/backend-crud-stubs --dev

Usage

Generating CRUD Backend

To generate a CRUD backend for a specific stack, use the following command:

php artisan crud:generate {name} --stack={stack}

Replace {stack} with the desired stack (e.g., vue, blade, api) and {name} with the name of the CRUD resource.

Customization

The generated code serves as a starting point. You can customize and extend it according to your project's requirements. Modify the generated controllers, routes, requests and policies as needed.

Available Stacks

  • vue: Generates CRUD backend with Inertia stack.
  • blade: Generates CRUD backend with Blade stack.
  • api: Generates CRUD backend with API stack.

Examples

Generating an Inertia CRUD Backend

To generate a CRUD backend for Inertia, run:

php artisan crud:generate Post --stack=vue

This will generate the necessary files for managing Post resources using Inertia.

Contributing

Contributions are welcome! If you have suggestions, bug reports, or feature requests, please open an issue on the GitHub repository.

License

This package is open-source software licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-08-28