gerardp / tablar-crud-generator

Simple CRUD generator Based on https://github.com/takielias/tablar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel Tablar Crud Generator

Latest Version on Packagist Total Downloads Contributors Forks Stargazers Issues MIT License 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.*

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}

Example

tablar-crud-generator-light

tablar-crud-generator-dark

Contact

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

takielias

About

Simple CRUD generator Based on https://github.com/takielias/tablar

License:MIT License


Languages

Language:PHP 100.0%