boshurik/mapper-bundle

Mapper bundle

Installs: 3 353

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Type:symfony-bundle

0.4.7 2024-01-22 14:00 UTC

This package is auto-updated.

Last update: 2024-10-22 15:38:02 UTC


README

Integrates boshurik/mapper to Symfony

Usage

composer require boshurik/mapper-bundle

Bundle introduce two interfaces BoShurik\MapperBundle\Mapper\Mapping\MappingInterface and BoShurik\MapperBundle\Mapper\Mapping\ReverseMappingInterface for one-way and two-way mappings respectively

Code generation

Code generation based on PHP-Parser

composer require nikic/php-parser

Generating model

bin/console mapper:generate:model

Generating mapping

bin/console mapper:generate:mapping