tadasei/backend-crud-stubs
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.
tadasei/backend-crud-stubs 适用场景与选型建议
tadasei/backend-crud-stubs 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 186 次下载、GitHub Stars 达 1, 最近一次更新时间为 2023 年 08 月 28 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「backend」 「crud」 「laravel」 「stubs」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 tadasei/backend-crud-stubs 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 tadasei/backend-crud-stubs 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 tadasei/backend-crud-stubs 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Gii Generator for double model generation
This bundle offers a simple backend explanation form field (inputType).
Preview of settings in footer of tt_content element in page module.
A PSR-7 compatible library for making CRUD API endpoints
An interactive tour through the TYPO3 backend.
Admin panel generator for Laravel 8 and based on Vuetify Admin, a separate SPA admin framework running on top of REST APIs.
统计信息
- 总下载量: 186
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 14
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-08-28