danielquirogadev/clementinecrud

Laravel的CRUD生成器。根据数据库表生成模型、控制器和视图。该项目是Alfredo Aguirre (alfrednx@gmail.com)的kEpEx/laravel-crud-generator的分支。

安装: 3

依赖者: 0

建议者: 0

安全: 0

星标: 0

关注者: 0

分支: 3

语言:HTML

1.2.0 2017-01-28 21:34 UTC

This package is auto-updated.

Last update: 2024-09-29 05:22:03 UTC


README

###Laravel的CRUD生成器。根据数据库表生成模型、控制器和视图。 laravel

目前支持两个框架。这些是bootstrap 虽然这段代码是可以使用的,因为它产生了模型、控制器和视图,但离完成还差得很远。并不是所有的Materialize视图都是完整的。

#要求

  Laravel 5.3 or higher
  Laravel collective
  Twig
    
  Bootstrap or
  MaterializeCSS

#安装

###步骤 1

    composer require rascoop/laracreatecrud

###步骤 2

将您的新提供者添加到config/app.php文件中的providers数组中

    CrudGenerator\CrudGeneratorServiceProvider::class,

###步骤 3

享受它。

#使用方法

使用表名,表名列表作为输入,或仅生成整个数据库。

###为所有数据库生成CRUD

php artisan create:crud all
php artisan create:crud --all
php artisan create:crud -a
php artisan create:crud

###为单个表生成CRUD

php artisan create:crud table_1

###为表列表生成CRUD

php artisan create:crud table_1,table_2,table_3 --only
php artisan create:crud table_1,table_2,table_3 -o

###排除给定列表中的表生成CRUD

php artisan create:crud table_1,table_2,table_3 --all-but
php artisan create:crud table_1,table_2,table_3 -b

###生成表单请求

php artisan create:crud table_1 --formrequest
php artisan create:crud table_1 -r

###将链接添加到仪表板菜单

php artisan create:crud table_1 --dashboard-menu
php artisan create:crud table_1 -m

###查看所有选项

php artisan help create:crud

###自定义模板

###使用自定义布局

php artisan create:crud all --master-layout=layouts.master 

###自定义模板

php artisan vendor:publish

#联系

GitHub: rascoop Twitter: @rascoop

###本项目基于 larawesomecrud

#许可 MIT License

Richard Scoop

SamyOteroGlez & contributors

bootstrap

materialize-css