hossamsoliuman/licht 问题修复 & 功能扩展

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

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

hossamsoliuman/licht

最新稳定版本:1.14.0

Composer 安装命令:

composer require hossamsoliuman/licht

包简介

CRUDs generator

README 文档

README

Licht - Laravel CRUD Generator

Licht - Laravel CRUD Generator

Licht is a Laravel package that simplifies the process of generating CRUD (Create, Read, Update, Delete) operations for your models. It provides a convenient Artisan command to quickly generate the necessary components for your models, such as models, requests, resources, controllers, and migrations.

Installation

To get started with Licht, follow these steps:

  1. Install the package via Composer:
composer require hossamsoliuman/licht

Usage

To generate CRUD operations for a model, you can use the licht Artisan command. You can specify the model name as an argument or run the command without arguments to be prompted for the model name:

php artisan licht ModelName

Or:

php artisan licht

If you run the command without specifying the model name, you will be prompted to enter the model name interactively.

You will also be prompted to enter the field names and their types. Once you've provided the necessary information, Licht will generate the following components for you:

  • Model
  • Store Request
  • Update Request
  • Resource
  • Controller
  • Migration

These components will be placed in the appropriate directories within your Laravel project.

Features

Feature Status
Support for various field types (string, integer, text, foreignId, image, file, date, datetime) ✅ Done
Automatic generation of validation rules based on field types ✅ Done
Generate CRUD operations along with views 🔜 Coming Soon
Generate CRUD for existing model and database table created using Licht 🔜 Coming Soon
Customizable CRUD templates 🔜 Coming Soon
Create CRUD for multiple models at once 🔜 Coming Soon
Extensive documentation and examples 🔜 Coming Soon
Add json type field ✅ Done

License

Licht is open-source software licensed under the MIT License.

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固