New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

ceddyg/clara-entity-generator

Repository to generate a CRUD system (Controller, model, repository, view using bootstrap, and more) scanning the shema of the database.
521 2
Install
composer require ceddyg/clara-entity-generator
Latest Version:4.1.1
PHP:>=7.2
Laravel:6 · 7
Older releases:5
License:MIT
Last Updated:Apr 22, 2020
Links: GitHub  ·  Packagist
Maintainer: CeddyG

Clara entity generator

Installation

composer require ceddyg/clara-entity-generator

Add to your providers in 'config/app.php'

CeddyG\ClaraEntityGenerator\EntityGeneratorServiceProvider::class,

Then to publish the files.

php artisan vendor:publish --provider="CeddyG\ClaraEntityGenerator\EntityGeneratorServiceProvider"

Use

You can select all the table in it and define what file you want :

  • Controller
  • Model
  • Repository (that extend ceddyg/query-builder-repository)
  • Request
  • Index view
  • Form view (to create or edit)
  • Traduction files (en and fr)

You have just to define the relations, if they are hasMany or belongsToMany relations and what files you want to create

You can edit the generator to custom your files. The generator is in app/Services/Clara/Generator and the stubs are in ressources/stubs.

Related Packages

kilroyweb/cruddy

Laravel CRUD Helper

23 1
orchid/crud

Build CRUD apps in fewer lines of code for Laravel Orchid.

1,560,269 149
mwi/laravel-crud

MWI Crud setup for Laravel Projects

8,540 1
wisoot/entity

Base Entity

3,658 1
technote/laravel-crud-helper

CRUD helper for laravel

2,429 1

Version History

Version Released PHP Laravel License
4.1.1 >=7.2 ^6.0|^7.0 MIT
4.1.0 >=7.2 ^6.0|^7.0 MIT
4.0.2 >=7.2 ^6.0|^7.0 MIT
4.0.1 >=7.2 ^6.0|^7.0 MIT
4.0.0 >=7.2 ~6.0 MIT