Search by

rem42 / sylius-admin-kit-bundle

rem42

Opt-in admin features (quick filter, active filters, environment indicator, entity filter autocomplete) for Sylius Stack admin UIs, with shadcn and bootstrap (Tabler) themes.

Package info

github.com/rem42/sylius-admin-kit-bundle

Type:symfony-bundle

pkg:composer/rem42/sylius-admin-kit-bundle

Statistics

Installs: 4

Dependents: 0

Suggesters: 1

Stars: 0

Open Issues: 0

v1.0.1 2026-10-31 17:34 UTC

This package is auto-updated.

Last update: 2026-10-31 23:41:58 UTC


README

Opt-in admin features for Sylius Stack admin UIs, themed for rem42/shadcn-admin-ui (Tailwind) and sylius/bootstrap-admin-ui (Tabler).

Feature What it does
Quick filter Tabs above a grid, built from an enum filter, with optional counts and coloured dots.
Active filters Removable chips listing the criteria that filter a grid, visible even when the filters are collapsed.
Environment indicator Coloured strip on every admin page, badge in the navbar and on the login page.
Entity filter autocomplete entity grid filters become searchable Tom Select comboboxes.

Everything is disabled by default: installing the bundle changes nothing until you enable a feature. A disabled feature registers no service, no Twig function and no hook.

Quick start

composer require rem42/sylius-admin-kit-bundle
// config/bundles.php
return [
    // ...
    Rem42\SyliusAdminKit\Rem42SyliusAdminKitBundle::class => ['all' => true],
];
# config/packages/rem42_sylius_admin_kit.yaml
rem42_sylius_admin_kit:
    quick_filter:
        enabled: true
    active_filters:
        enabled: true
    environment:
        enabled: true
    entity_filter_autocomplete:
        enabled: true

The theme is detected (shadcn when Rem42ShadcnAdminUiBundle is loaded, bootstrap otherwise) and can be forced or replaced by your own, see Themes. With the shadcn theme, add one line to your Tailwind CSS, see Installation.

Documentation

Development

make up        # demo application showing the features, in both themes (login: admin / admin):
               # http://localhost:8080/admin (bootstrap)
               # http://localhost:8080/shadcn/admin (shadcn)
make ci        # php-cs-fixer + twig-cs-fixer + PHPStan (level max) + PHPUnit
make install   # composer install

The shadcn theme comes from a checkout of the kit-compat branch of the kit, which must sit next to this repository (composer path repository, mounted in the Docker container) until shadcn-admin-ui 2 is released:

git clone -b kit-compat https://github.com/rem42/shadcn-admin-ui ../shadcn-admin-ui-kit-compat

The demo application lives in tests/Application. Each theme runs in its own kernel (App\Kernel): bundles flagged with its name in config/bundles.php, configuration of config/packages/{theme}/. The shadcn theme needs its assets: make assets, or APP_THEME=shadcn php tests/Application/bin/console importmap:install (the Docker entrypoint does it) followed by tailwind:build.

License

This bundle is released under the MIT License.