triton/crud-generator
Laravel CRUD generator that scaffolds models, controllers, form requests, routes, and views from your database tables. Quickly build admin panels and APIs with customizable templates and validation, generating clean code you can edit and extend.
Framing note: despite the "Laravel developer" prompt, this is a Symfony 3 / Doctrine bundle (
PetkoparaCrudGeneratorBundle), not a Laravel package. You can'tcomposer requireit into a Laravel app and get working CRUD. Use it in a Symfony 3 project, or read it as a reference implementation for scaffolding patterns.
Minimal setup in a Symfony 3 app:
composer require triton/crud-generator --devapp/AppKernel.php under the dev bundles:
new Petkopara\CrudGeneratorBundle\PetkoparaCrudGeneratorBundle()php bin/console generate:doctrine:crud --entity=AppBundle:Productsrc/AppBundle/Controller/), templates (app/Resources/views/), form type, and the route added to routing.yml.Where to look first: the generated indexAction (it defines the pagination/filter/sort query-param contract), then index.html.twig (Bootstrap 3 table, filter form, bulk-delete checkboxes). First use case: stand up an admin list/detail/new/edit screen over an existing entity in minutes, with server-side pagination, filtering, sorting, page-size selection, and bulk delete.
Admin controller namespace and route prefix (/admin/product) so security and layout can be applied uniformly.app/Resources/views/... to customize markup without touching vendor code.access_control or add @Security annotations; the generator does not add auth.--overwrite clobbers hand edits. Always generate on a clean git branch.col-md-*, pull-right, btn-default). Budget restyling time for BS4/5 or Tailwind.EntityType fields to autocomplete where needed.bin/console debug:router to confirm generated routes, debug:twig for template resolution, and the dev log for query/param issues.Resources/skeleton into your app), extending the generated controller, or forking the bundle command for your own conventions.How can I help you explore Laravel packages today?