opportus / object-mapper-bundle
A Symfony Bundle allowing copying state of objects to differently typed objects using extensible controls and mapping strategies.
Installs: 1 587
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 2
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^7.4|^8.0
- opportus/object-mapper: ^1.0.0
- symfony/config: ^4.0|^5.0|^6.0
- symfony/dependency-injection: ^4.0|^5.0|^6.0
- symfony/http-kernel: ^4.0|^5.0|^6.0
This package is auto-updated.
Last update: 2025-01-25 19:34:23 UTC
README
This bundle integrates into your Symfony project opportus/object-mapper
, a library that allows copying state of objects to differently typed objects using extensible controls and mapping strategies.
Below is the installation guide specific to this Symfony bundle. For the complete guide, please refer to opportus/object-mapper
's homepage: https://github.com/opportus/object-mapper.
Installation
Applications that use Symfony Flex
Open a command console, enter your project directory and execute:
$ composer require opportus/object-mapper-bundle
Applications that do not use Symfony Flex
Step 1 - Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require opportus/object-mapper-bundle
Step 2 - Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php
file of your project:
<?php // app/AppKernel.php // ... class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... new Opportus\ObjectMapperBundle\OpportusObjectMapperBundle(), ); // ... } // ... }