A default implementation of the Converter & Populator design pattern.
-
Require the bundle
composer require teamneusta/converter-bundle
-
Enable the bundle
Add the Bundle to your
config/bundles.php
:Neusta\ConverterBundle\NeustaConverterBundle::class => ['all' => true],
This is important for preloading the default configuration of provided converter implementations which can be reused and simplify your code and further updates.
Feel free to open issues for any bug, feature request, or other ideas.
Please remember to create an issue before creating large pull requests.
To develop on local machine, the vendor dependencies are required.
bin/composer install
We use composer scripts for our main quality tools. They can be executed via the bin/composer
file as well.
bin/composer cs:fix
bin/composer phpstan
bin/composer tests