Download the PHP package aldaflux/my-maker-bundle without Composer
On this page you can find all versions of the php package aldaflux/my-maker-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download aldaflux/my-maker-bundle
More information about aldaflux/my-maker-bundle
Files in aldaflux/my-maker-bundle
Package my-maker-bundle
Short Description maker bundle crud variation
License MIT
Homepage https://github.com/Aldaflux/MyMakerBundle
Informations about the package my-maker-bundle
MyMakerBundle
MyMakerBundle is a Symfony bundle for generating custom CRUDs (BackOffice, FrontOffice, User), WebProfiler Data Collectors, and Symfony bundle skeletons.
Installation
Install the bundle in your Symfony project (in development mode) via Composer:
Configuration
To configure default output folders and route prefixes, you can create or edit config/packages/aldaflux_mymaker.yaml:
Available Commands
1. BackOffice CRUD Generation (make:crud:admin)
Generates a complete administration CRUD (Controller, FormType, and Twig views) for a given Doctrine entity class.
--with-voter option:
Adds security checks (is_granted) using Symfony Voters in the controller and Twig views.
Generated files:
src/Controller/BackOffice/EntityNameController.phpsrc/Form/EntityNameType.phptemplates/backoffice/entity_name/index.html.twigtemplates/backoffice/entity_name/show.html.twigtemplates/backoffice/entity_name/new.html.twigtemplates/backoffice/entity_name/edit.html.twigtemplates/backoffice/entity_name/_form.html.twigtemplates/backoffice/entity_name/_delete_form.html.twig
2. FrontOffice Views Generation (make:front:show)
Generates read-only views (list and details) and controller for the FrontOffice.
Generated files:
src/Controller/Frontoffice/EntityNameController.phptemplates/frontoffice/entity_name/index.html.twigtemplates/frontoffice/entity_name/show.html.twig
3. User CRUD Generation (make:crud:user)
Generates a CRUD specifically designed for managing user accounts (password hashing, password change, roles management, user profile).
--with-voter option:
Adds voter security checks (is_granted('view', user), is_granted('edit', user), etc.) in views and controllers.
4. Data Collector Generation (make:data:collector)
Generates a custom DataCollector for the Symfony WebProfiler, including its SVG icon and Twig template.
5. Symfony Bundle Generation (make:aldalflux:bundle)
Generates the directory tree and structure for a new full Symfony bundle (Configuration classes, DI Extension, composer.json, services.yml).