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

Crudit Bundle Laravel Package

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.

View on GitHub
Deep Wiki
Context7

How to color the rows of a list

Crudit allows you to add a class to <tr> tags in lists.

To do so, go to the entity corresponding to your list and add a new getter:

    public function getCssClass(): string
    {
        return 'status-' . $this->status;      
    }

If you refresh your list and got to your code inspector, you will see that a class has been added to <tr> tags:

All you have to do next is go to the CSS of your project and apply a background color to this new class:

.status-invoiced {
  background-color: darkseagreen;
}

.status-cancel {
  background-color: indianred;
}

:warning: With Bootstrap ^5.2, you need to override the css variable to transparent.

$table-bg: transparent;
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.
bugban/php-sdk
littlerocket/job-queue-bundle
graham-campbell/flysystem
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
directorytree/opensearch-client
directorytree/opensearch-adapter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php