定制 takielias/tablar-crud-generator 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

takielias/tablar-crud-generator

最新稳定版本:2.4

Composer 安装命令:

composer require takielias/tablar-crud-generator

包简介

Laravel Tablar Crud Generator based on https://github.com/takielias/tablar

README 文档

README

Laravel Tablar Crud Generator

Latest Version Stars Total Downloads Forks Issues Linkedin

takielias



Laravel Tablar Admin Dashboard https://github.com/takielias/tablar

Inspired by ibex/crud-generator

  • Will create Model with Eloquent relations
  • Will create Controller with all resources
  • Will create views in Bootstrap 5.*
We have replaced the laravelcollective/html package with konekt/html. This update ensures compatibility with PHP 8.1+ and Laravel 10 & 11, while preserving the same functionality as the original package.

Requirements

Laravel >= 9.*
PHP >= 8.1

Installation

1 - Install

composer require takielias/tablar-crud-generator --dev

2- Publish the default package's config

php artisan vendor:publish --tag=crud

Usage

php artisan make:crud {table_name}

php artisan make:crud products

Add a route in web.php

Route::resource('products', 'ProductController');

Route name in plural slug case.

Options

  • Custom Route
php artisan make:crud {table_name} --route={route_name}
  • Custom Crud name: the name of the scaffold.
php artisan make:crud {table_name} --crud-name={crud_name}

# For example:
# php artisan make:crud emergencies —-crud-name=Emergencies
  • Custom language: specify the language that should be used by the inflector (french, norwegian-bokmal, portuguese, spanish or turkish)
php artisan make:crud {table_name} --lang={lang}
# For example:
# php artisan make:crud incidencies --lang=spanish

Example

tablar-crud-generator-light

tablar-crud-generator-dark

Contact

Taki Elias - @takiele - https://ebuz.xyz - taki.elias@gmail.com

takielias

统计信息

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

GitHub 信息

  • Stars: 31
  • Watchers: 1
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-10-23