An open API service indexing awesome lists of open source software.

https://github.com/webfactory/content-mapping-bundle

Symfony bundle for webfactory/content-mapping
https://github.com/webfactory/content-mapping-bundle

Last synced: 5 days ago
JSON representation

Symfony bundle for webfactory/content-mapping

Awesome Lists containing this project

README

          

# content-mapping-bundle

Symfony bundle for [webfactory/content-mapping](https://github.com/webfactory/content-mapping). If you configure your
Synchronizers as services, you can use the provided console commands to list and start them. This is useful e.g. for
cronjobs.

## Installation

Install the package via composer

composer require webfactory/content-mapping-bundle

and enable the bundle in your app kernel:

```php







MyVendorMyEntityBundle:MyEntity



findForSolrIndex










```

If you've tagged your service as in the example above, you can use the console command

app/console content-mapping:list-synchronizers

to list your registered synchronizers denoted by their objectclass, and

app/console content-mapping:synchronize

to start them. Use `-o objectclass` to start only the Synchronizer for the `objectclass` and `-f` to force updates in
the destination systems even if no changes are detected. Be aware that `objectclass` is not the name of your entity class
you'd like to synchronize, but the value you defined in the service definition (see above). Note that backslashes in your
`objectclass` need to be escaped (with backslashes).

## Credits, Copyright and License

This project was started at webfactory GmbH, Bonn.

-
-

Copyright 2015-2022 webfactory GmbH, Bonn. Code released under [the MIT license](LICENSE).