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
- Host: GitHub
- URL: https://github.com/webfactory/content-mapping-bundle
- Owner: webfactory
- License: mit
- Created: 2015-08-06T14:35:17.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-10-09T08:57:09.000Z (about 2 years ago)
- Last Synced: 2024-04-10T06:11:56.878Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 9
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).