happyr / uuid-param-converter
A simple param converter that handles UUID
dev-master
2020-05-16 13:35 UTC
Requires
- php: ^7.2
- doctrine/persistence: ^1.1 || ^2.0
- sensio/framework-extra-bundle: ^5.4
- symfony/http-kernel: ^4.3 || ^5.0
This package is auto-updated.
Last update: 2024-10-16 23:19:49 UTC
README
An excellent ParamConverter that works with SensioLabsExtraBundle.
It converter parameters of the following pattern:
name
_uuidname
Uuid- uuid
Install
composer require happyr/uuid-param-converter
# app/config/happyr_param_converter.yml services: Happyr\UuidParamConverter: arguments: ['@doctrine.registry'] tags: - { name: request.param_converter, priority: 5, converter: uuid_converter }