rollandrock / param-converter-bundle
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
Requires
- php: >=8.2
- doctrine/orm: *
- symfony/framework-bundle: ^6.2 || ^7.0
- symfony/http-kernel: ^6.2 || ^7.0
- symfony/property-access: ^6.2 || ^7.0
- symfony/yaml: ^6.2 || ^7.0
Requires (Dev)
- phpunit/phpunit: ^10.5
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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