Search by

rollandrock / param-converter-bundle

pierrerolland

This bundle aims to provide useful request attributes

Package info

github.com/pierrerolland/param-converter-bundle

Type:symfony-bundle

pkg:composer/rollandrock/param-converter-bundle

Statistics

Installs: 1 070

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v2.1.1 2026-10-27 14:35 UTC

This package is auto-updated.

Last update: 2026-10-27 14:35:59 UTC


README

This bundle aims to provide useful request attributes. For now, it provides a complete Doctrine entity argument resolver. See usage below.

Requires PHP 8.2 or later and Symfony 6.2+ (including 6.4 LTS) or Symfony 7.

Installation

Applications that use Symfony Flex

Open a command console, enter your project directory and execute:

$ composer require rollandrock/param-converter-bundle

Applications that don't use Symfony Flex

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

$ composer require rollandrock/param-converter-bundle

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Step 2: Enable the Bundle

Then, enable the bundle in your project's config/bundles.php file:

<?php
// config/bundles.php
return [
    // ...
    RollandRock\ParamConverterBundle\RollandRockParamConverterBundle::class => ['all' => true],
];

Converters

1. Doctrine entity value resolver

Tests

composer install
composer test