teamneusta / converter-bundle
Allows using the Converter & Populator design pattern for transformations from one universe to another
Installs: 6 059
Dependents: 3
Suggesters: 0
Security: 0
Stars: 5
Watchers: 13
Forks: 4
Open Issues: 13
Type:symfony-bundle
Requires
- php: ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0
- symfony/config: ^5.4 || ^6.2 || ^7.0
- symfony/dependency-injection: ^5.4 || ^6.2 || ^7.0
- symfony/framework-bundle: ^5.4 || ^6.2 || ^7.0
- symfony/http-kernel: ^5.4 || ^6.2 || ^7.0
- symfony/property-access: ^5.4 || ^6.2 || ^7.0
Requires (Dev)
- ergebnis/composer-normalize: ^2.42
- friendsofphp/php-cs-fixer: ^3.60
- jangregor/phpstan-prophecy: ^1.0
- matthiasnoback/symfony-dependency-injection-test: ^5.1
- nyholm/symfony-bundle-test: ^3.0
- phpspec/prophecy-phpunit: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^1.9
- phpstan/phpstan-symfony: ^1.2
- phpunit/phpunit: ^9.5
- qossmic/deptrac-shim: ^0.24 || ^1.0
- symfony/filesystem: ^5.4 || ^6.2 || ^7.0
- symfony/phpunit-bridge: ^5.4 || ^6.2 || ^7.0
- symfony/test-pack: ^1.0
- symfony/yaml: ^5.4 || ^6.2 || ^7.0
- dev-main
- v1.7.0
- v1.6.0
- v1.5.0
- v1.4.0
- v1.3.1
- v1.3.0
- v1.2.0
- v1.1.1
- v1.1.0
- v1.0.1
- v1.0.0
- dev-add-skip-null
- dev-add-skip-null-to-converting-populator
- dev-13-activate-workflow
- dev-make-extension-extendable
- dev-57-add-docs-for-new-converting-populators-configuration
- dev-add-configurable-converter-suffix
- dev-rebuild-config
- dev-converter-selector-selects-converter
- dev-refactor-cache-management
This package is auto-updated.
Last update: 2024-12-03 21:37:43 UTC
README
A default implementation of the Converter & Populator design pattern.
Installation
-
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.
Usage
Contribution
Feel free to open issues for any bug, feature request, or other ideas.
Please remember to create an issue before creating large pull requests.
Local Development
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