crud generator base on symfony maker-bundle

1.3.3 2021-01-29 10:11 UTC

This package is auto-updated.

Last update: 2021-03-01 00:23:33 UTC


CRUD generator base on Symfony Maker Bundle

  1. installation
composer require kematjaya/crud-maker-bundle
  1. Generate Filter Form
php bin/console make:kmj-filter
  1. Generate CRUD include form, filter and pagination
php bin/console make:kmj-crud

if use modal add to base template

<div class="modal fade" id="myModal">
    <div class="modal-content" id="modal-dialog">
        <div style="text-align: center"><img src="{{ asset('bundles/basecontroller/images/loading.gif') }}" style="width: 20px"/></div>

and add jquery.js

  • if you want to change generator template, you can set template path in config
# config/packages/crud_generator.yaml
# assume your template in root-project/generator
        path: '%kernel.project_dir%/generator'

thank to: