mediagone / types-common-symfony
Provides Symfony param converters for mediagone/types-common package.
Installs: 2 046
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^7.4|^8.0
- ext-json: *
- ext-mbstring: *
- mediagone/symfony-powerpack: ^0.2.1|^0.3|^0.4
- mediagone/types-common: ^0.6.5|^0.7
- symfony/validator: ^4.0|^5.0|^6.0
Requires (Dev)
- phpunit/phpunit: ^9.0
README
Provides Symfony param converters for "mediagone/types-common" package.
Installation
This package requires PHP 7.4+ and Symfony.
Add it as Composer dependency:
$ composer require mediagone/types-common-symfony
In order to use "mediagone/types-common" types as controller parameters, you must register the converters in your services.yaml
by adding the following service declaration:
services: Mediagone\Symfony\Types\Common\Converters\: resource: '../vendor/mediagone/types-common-symfony/src/Converters/'
License
Types Common for Symfony is licensed under MIT license. See LICENSE file.