Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/opportus/objectmapperbundle
A Symfony bundle allowing copying state of objects to differently typed objects using extensible controls and mapping strategies.
https://github.com/opportus/objectmapperbundle
composer-package dto dto-entity-mapper dto-generator filter object-mapper object-mapping pathfinding recursion
Last synced: about 23 hours ago
JSON representation
A Symfony bundle allowing copying state of objects to differently typed objects using extensible controls and mapping strategies.
- Host: GitHub
- URL: https://github.com/opportus/objectmapperbundle
- Owner: opportus
- License: mit
- Created: 2019-05-25T17:27:43.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-05-25T13:37:50.000Z (over 2 years ago)
- Last Synced: 2024-09-20T08:32:07.146Z (5 days ago)
- Topics: composer-package, dto, dto-entity-mapper, dto-generator, filter, object-mapper, object-mapping, pathfinding, recursion
- Language: PHP
- Homepage:
- Size: 28.3 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[![License](https://poser.pugx.org/opportus/object-mapper-bundle/license)](https://packagist.org/packages/opportus/object-mapper-bundle)
[![Latest Stable Version](https://poser.pugx.org/opportus/object-mapper-bundle/v/stable)](https://packagist.org/packages/opportus/object-mapper-bundle)
[![Latest Unstable Version](https://poser.pugx.org/opportus/object-mapper-bundle/v/unstable)](https://packagist.org/packages/opportus/object-mapper-bundle)This bundle integrates into your Symfony project [`opportus/object-mapper`](https://github.com/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:
```console
$ 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:
```console
$ 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