hengebytes/response-filter-bundle

Symfony bundle for modify/filter responses in webservice-core-async-bundle

v1.1.0 2025-02-05 14:05 UTC

This package is auto-updated.

Last update: 2025-02-11 11:59:55 UTC


README

This bundle provides a way to filter the response of async web services core bundle.

Add the bundle to your Kernel

// config/bundles.php
return [
    // ...
    Hengebytes\ResponseFilterBundle\HBResponseFilterBundle::class => ['all' => true],
];

Generate migration

php bin/console doctrine:migrations:diff
php bin/console doctrine:migrations:migrate

Routes

# config/routes/hb_response_filter.yaml
hb_response_filter:
    resource: '@HBResponseFilterBundle/Resources/config/routes.yaml'
    prefix: /admin

Assets

php bin/console assets:install --symlink

Override templates

php bin/console make:twig:template templates/bundles/HBResponseFilterBundle

or manually create the file templates/bundles/HBResponseFilterBundle/layout.html.twig