2lenet/crudit-bundle
Symfony bundle to rapidly build configurable CRUD back offices with SB Admin layout. Provides list views with pagination, sorting, actions, exports and batch ops, plus datasources, filters, menus, workflows, maps, markdown and Twig helpers.
We have several configurations available to manage different functionalities.
1. CRUD
We have three configurations for managing the alignment of numbers with three possible values: left, center and right:
default_currency_alignmentdefault_integer_alignmentdefault_number_alignmentWe have four configurations for columns/card display :
css_class_columns_form — CSS class applied to each field column in form viewcss_class_columns_show — CSS class applied to each field column in show viewcss_class_columns_card — CSS class applied to each field column in card viewnumber_cards_per_row — number of cards displayed per rowlle_crudit:
css_class_columns_form: 'col-sm-12 col-md-6'
css_class_columns_show: 'col-sm-12 col-md-6'
css_class_columns_card: 'col-sm-12 col-md-4'
number_cards_per_row: 3
If you want to have roles on all your bricks (sublist, form, template, etc.), you can add the following configuration:
generate_default_role2. Actions
There are two different configurations for managing the display of actions (possible values: true/false):
hide_if_disableddelete_hide_if_disabled3. Others
These configurations manage the features in your application header.
add_connect_profile_link add a button to access your profile page.
You must have a connect_url variable in your twig.yaml file like this:
twig:
globals:
connect_url: '%env(CONNECT_URL)%'

add_exit_impersonation_button add a button to the header if you are impersonating someone.
exit_impersonation_path manages the url to which you will be redirected after exiting impersonation (default: homepage).

ignore_referer_routes allow you to configure routes that will not be saved in the user's navigation session.
The value is an array of regexes matching the routes
ignore_referer_routes:
- /\/admin\/[0-9]+/
- /\/login
How can I help you explore Laravel packages today?