{"id":18773118,"url":"https://github.com/webfactory/content-mapping-bundle","last_synced_at":"2025-12-13T17:30:13.146Z","repository":{"id":36015115,"uuid":"40309621","full_name":"webfactory/content-mapping-bundle","owner":"webfactory","description":"Symfony bundle for webfactory/content-mapping","archived":false,"fork":false,"pushed_at":"2023-10-09T08:57:09.000Z","size":20,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-04-10T06:11:56.878Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webfactory.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2015-08-06T14:35:17.000Z","updated_at":"2024-04-15T09:43:40.946Z","dependencies_parsed_at":"2024-04-15T09:43:40.461Z","dependency_job_id":"d99e16e3-6384-49cc-bfc0-9ff75616562a","html_url":"https://github.com/webfactory/content-mapping-bundle","commit_stats":{"total_commits":16,"total_committers":4,"mean_commits":4.0,"dds":0.4375,"last_synced_commit":"93d05471dca88ad29e2405d44771f1b2b1dcfe76"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webfactory%2Fcontent-mapping-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webfactory%2Fcontent-mapping-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webfactory%2Fcontent-mapping-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webfactory%2Fcontent-mapping-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webfactory","download_url":"https://codeload.github.com/webfactory/content-mapping-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239680983,"owners_count":19679509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T19:32:52.477Z","updated_at":"2025-12-13T17:30:13.108Z","avatar_url":"https://github.com/webfactory.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# content-mapping-bundle\n\nSymfony bundle for [webfactory/content-mapping](https://github.com/webfactory/content-mapping). If you configure your\nSynchronizers as services, you can use the provided console commands to list and start them. This is useful e.g. for\ncronjobs.\n\n\n## Installation\n\nInstall the package via composer\n\n    composer require webfactory/content-mapping-bundle\n\nand enable the bundle in your app kernel:\n    \n```php    \n\u003c?php\n// app/AppKernel.php\n\npublic function registerBundles()\n{\n    // ...\n    $bundles[] = new Webfactory\\ContentMappingBundle\\WebfactoryContentMappingBundle();\n    // ...\n}\n```\n\n\n## Usage\n\nFirst, register your Synchronizers as a service, e.g. in your services.xml:\n\n```xml\n\u003c!-- Synchronizer for MyEntity ---\u003e\n\u003cservice class=\"Webfactory\\ContentMapping\\Synchronizer\"\u003e\n    \u003c!-- SourceAdapter --\u003e\n    \u003cargument type=\"service\"\u003e\n        \u003cservice class=\"Webfactory\\ContentMapping\\SourceAdapter\\Doctrine\\GenericDoctrineSourceAdapter\"\u003e\n            \u003c!-- Doctrine Repository --\u003e\n            \u003cargument type=\"service\"\u003e\n                \u003cservice class=\"MyVendor\\MyBundle\\Entity\\MyEntityRepository\" factory-service=\"doctrine.orm.entity_manager\" factory-method=\"getRepository\"\u003e\n                    \u003cargument\u003eMyVendorMyEntityBundle:MyEntity\u003c/argument\u003e\n                \u003c/service\u003e\n            \u003c/argument\u003e\n            \u003c!-- Name of the repository method to query --\u003e\n            \u003cargument type=\"string\"\u003efindForSolrIndex\u003c/argument\u003e\n        \u003c/service\u003e\n    \u003c/argument\u003e\n\n    \u003c!-- Mapper --\u003e\n    \u003cargument type=\"service\"\u003e\n        \u003cservice class=\"MyVendor\\MyBundle\\ContentMapping\\MyEntityMapper\" /\u003e\n    \u003c/argument\u003e\n\n    \u003c!-- DestinationAdapter --\u003e\n    \u003cargument type=\"service\" id=\"contentmapping.destinationadapter.solarium\"/\u003e\n\n    \u003c!-- PSR3-logger --\u003e\n    \u003cargument type=\"service\" id=\"logger\" /\u003e\n    \u003ctag name=\"monolog.logger\" channel=\"solr\" /\u003e\n    \n    \u003c!-- Tag to mark the service as a Synchronizer --\u003e\n    \u003ctag name=\"contentmapping.synchronizer\" objectclass=\"\\JugendFuerEuropa\\Bundle\\JugendInAktionBundle\\Entity\\Mitarbeiter\" /\u003e\n\u003c/service\u003e\n\n\u003c!-- other Synchronizers ---\u003e\n```\n\nIf you've tagged your service as in the example above, you can use the console command\n  \n    app/console content-mapping:list-synchronizers\n\nto list your registered synchronizers denoted by their objectclass, and\n\n    app/console content-mapping:synchronize\n\nto start them. Use `-o objectclass` to start only the Synchronizer for the `objectclass` and `-f` to force updates in\nthe destination systems even if no changes are detected. Be aware that `objectclass` is not the name of your entity class\nyou'd like to synchronize, but the value you defined in the service definition (see above). Note that backslashes in your\n`objectclass` need to be escaped (with backslashes).\n\n\n## Credits, Copyright and License\n\nThis project was started at webfactory GmbH, Bonn.\n\n- \u003chttps://www.webfactory.de\u003e\n- \u003chttps://twitter.com/webfactory\u003e\n\nCopyright 2015-2022 webfactory GmbH, Bonn. Code released under [the MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebfactory%2Fcontent-mapping-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebfactory%2Fcontent-mapping-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebfactory%2Fcontent-mapping-bundle/lists"}