Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Adminbundle Laravel Package

bluebear/adminbundle

View on GitHub
Deep Wiki
Context7

Configuration Reference

    lag_admin:
        application:
            title: My Little TaunTaun application
            description: My Little TaunTaun application using Admin Bundle
            locale: en

            # Use the css framework Bootstrap integration (default: true) 
            bootstrap: true

            # Your base template (default: LAGAdminBundle::admin.layout.html.twig)
            base_template: 'MyLittleTaunTaunBundle::layout.html.twig'

            # Form block template
            block_template: 'MyLittleTaunTaunBundle:Form:fields.html.twig'

            # Admins routing configuration
            routing:
                name_pattern: 'tauntaun.{admin}.{action}'
                url_pattern: 'tauntaun/{admin}/{action}'

            # Use extra configuration helper (default: true)
            enable_extra_configuration: true

            # Global date format (can be override for each admin, or field)
            date_format: 'd/M/Y'

            # In list view, strings will be truncated after 200 characters and will be suffixed by ...
            string_length: 200
            string_truncate: '...'

            # Translation configuration
            translation:
                # Default: true
                enabled: true
                pattern: app.{key}

            # In list view, only 25 items per page
            max_per_page: 25

            fields_mapping:
                # You can override or create new field (it should be declared in services.yml, see the dedicated chapter)
                my_custom_field: MyLittleTaunTaunBundle\Fields\MyCustomField
                my_custom_string: MyLittleTaunTaunBundle\Fields\MyString

        admins:
            planet:
                # Generic action
                create: ~
                edit: ~
                delete: ~
                list:
                    fields:
                        id: ~
                        name:
                            type: link
                            options:
                                length: 40
                                # According to global routing pattern
                                route: tauntaun.planet.edit
                                parameters: {id: ~}
                        category: ~
                        galaxy: ~
                        publicationStatus: ~
                        publicationDate: {type: date, options: {format: d/m/Y}}
                        updatedAt: {type: date, options: {format: '\L\e d/m/Y à h:i:s'}}
                # Your Doctrine entity (required)
                entity: MyLittleTaunTaunBundle\Entity\Planet

                # Your Symfony form type (required; used in create and edit action)
                form: MyLittleTaunTaunBundle\Form\PlanetType
                actions:
                    # Custom actions
                    death_star:                        
                        title: Destroy a planet
                        fields:
                        permissions: [ROLE_DARK_SITH]
                        # Planets will be retrieved sorted by size and by population
                        order:
                            size: getSize
                            population: ~
                        route: app.planets.destroy
                        route_parameters: {id: ~}
                        icon: fa fa-planet
                        load_strategy: unique
                        # Allowed options are pagerfanta and false
                        pager: false
                        criteria: {id: ~}
                        menu:
                            top:
                                items:
                                    destroy_another:
                                        title: Destroy an other planet
                                        route: destroy.again
                # Used batch action in list view
                batch: true

                # Global routing override
                routes_pattern: tauntaun.{admin}.{action}

                # Your custom controller (can extends CRUDController to ease Admin management)
                controller: MyLittleTaunTaunBundle:TaunTaun
                max_per_page: 5

                # Should implements DataProviderInterface
                data_provider: 'my.custom.data_provider.service'

                # Translations pattern override
                translation:
                    enabled: true
                    pattern: lag.{admin}.{key}
                    catalog: messages
            # Short configuration reference            
            tauntaun:
                entity: MyLittleTaunTaunBundle\Entity\TaunTaun
                form: MyLittleTaunTaunBundle\Entity\TaunTaunType
                # Will create a CRUD with create, edit, list and delete action for the entity Tauntaun
                actions: ~
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels
wazza/laravel-db-encryption
hokny/laravel-generator
vonsogt/backup
jengo/queues
jeremykenedy/laravel-observability
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums