承接 adele332/crudgenerator 相关项目开发

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

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

adele332/crudgenerator

最新稳定版本:1.0.0

Composer 安装命令:

composer require adele332/crudgenerator

包简介

CRUD generator for Laravel framework

README 文档

README

MIT License MIT License

This Laravel package will give you an opportunity to create CRUD functionality faster just simply using command line. You will be able from command line:

  • Create Models
  • Create Migrations
  • Create Controllers
  • Create View for particular tables
  • Create Main website views with login, registration and CRUD functionality

Requirements

This package requires:

  • Laravel >= 9.33.0
  • PHP >= 8.0.2
  • Composer >= 2.4.2

Installation

  1. Run command
  composer require adele332/crudgenerator
  1. Run command
  php artisan list
  1. Check if in the list you see newly added commands
    If you see new commands that means that you successfuly installed this package! :)

Newly added commands to the project

There will be 5 new commands which you will see after running command 'php artisan list':

  • php artisan make:model
  • php artisan make:controllers
  • php artisan make:migrations
  • php artisan make:view
  • php artisan make:main

Examples of suitable commands:

  1. Command for creating Model
    php artisan make:model Genre --table="genres" --fields="['id','title','created_at','updated_at']"
  1. Command for creating Controller
    php artisan make:controllers Genres --model="Genre" --fields-validation="'title' => 'required|alpha|min:2'" --dir-to-save-file=admin
  1. Command for creating Migration
    php artisan make:migrations Genres --table-schema="title:string"
  1. Command for creating Views (you should use it only then you have data tables in database)
    php artisan make:model Genre --table="genres" --fields="['id','title','created_at','updated_at']"
  1. Command for creating Main views (this command must be used only once)
    php artisan make:main MyCrudGenerator

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-12-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固