Weave Code
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

Easyadmin Plus Bundle Laravel Package

2lenet/easyadmin-plus-bundle

View on GitHub
Deep Wiki
Context7

Configurable QueryBuilder

The AdminController create a query builder from the entity. This extension make possible to use your own query_builder defined in your repository without the need to override the controller.

Settings

To enable batch actions, you've to add a new node (batchs) for the action list of the entity.

# config/packages/easy_admin.yaml
easy_admin:
    entities:
        Ressource:
            class: App\Entity\Ressource
            qb_method: findActiveRessourceQb
            disabled_actions: [new]
            role: ROLE_RESSOURCE

The method should return a Qb and MUST use "entity" for the main alias.

    public function findActiveRessourceQb()
    {

        $qb = $this->createQueryBuilder('entity')
            ->join('entity.service','service')
            ->where('service.actif = 1')
        ;
        return $qb;
    }

Back to main readme

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.
emuniq/filament-browser-notifications
syriable/filament-translator
hungnm28/livewire-form
wenprise/eloquent
crudly/encrypted
fadion/bouncy
cuci/prototurk-sdk
gos/pubsub-router-bundle
cuci/prototurk-sdk-symfony
clementtalleu/easyadmin-markdown-bundle
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui