{"id":18647742,"url":"https://github.com/andersundsehr/relation-processor","last_synced_at":"2025-04-11T13:30:56.117Z","repository":{"id":212273634,"uuid":"731101740","full_name":"andersundsehr/relation-processor","owner":"andersundsehr","description":"Adds DataProcessor to resolve all types of TCA Relations","archived":false,"fork":false,"pushed_at":"2024-07-01T11:05:35.000Z","size":161,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-02T08:37:19.831Z","etag":null,"topics":["data-processor","data-processors","dataprocessor","dataprocessors","typo3","typo3-extension"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andersundsehr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-12-13T11:07:47.000Z","updated_at":"2024-08-22T08:16:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"cefe1144-b9d2-45c8-a6b3-778a6b5888f6","html_url":"https://github.com/andersundsehr/relation-processor","commit_stats":null,"previous_names":["andersundsehr/relation-processor"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersundsehr%2Frelation-processor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersundsehr%2Frelation-processor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersundsehr%2Frelation-processor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersundsehr%2Frelation-processor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andersundsehr","download_url":"https://codeload.github.com/andersundsehr/relation-processor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223469419,"owners_count":17150346,"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":["data-processor","data-processors","dataprocessor","dataprocessors","typo3","typo3-extension"],"created_at":"2024-11-07T06:27:44.113Z","updated_at":"2024-11-07T06:27:44.587Z","avatar_url":"https://github.com/andersundsehr.png","language":"PHP","readme":"# EXT:relation_processor\n\n## install\n\n``composer req andersundsehr/relation-processor``\n\n## what does it do\n\nIt adds a RelationProcessor so you don't have to manually define a DatabaseQueryProcessor for each relation you want to use.  \nIt uses the TCA configuration to determine the correct query to use.  \nIt uses the `PageRepository-\u003eversionOL()` and `PageRepository-\u003egetLanguageOverlay()` functions so it hase correct versioning and language overlay support.  \n\n\n\n### Example\n\n````ts\n10 = AUS\\RelationProcessor\\DataProcessing\\RelationProcessor\n10 {\n    # this field is of the current table and will be used to determine the relation\n    # eg. if you have EXT:news and this processor is used on a tt_content you can get all related news like this:\n    field = tx_news_related_news\n}\n````\n\n### Advanced Example\n\n````ts\npage = PAGE\npage.10 = FLUIDTEMPLATE\npage.10 {\n    dataProcessing {\n        10 = TYPO3\\CMS\\Frontend\\DataProcessing\\FilesProcessor\n        10 {\n            references.fieldName = header_image\n            as = headerImage\n        }\n\n        20 = AUS\\RelationProcessor\\DataProcessing\\RelationProcessor\n        20 {\n            field = tx_customerproduct_companies\n\n            dataProcessing {\n                10 = TYPO3\\CMS\\Frontend\\DataProcessing\\FilesProcessor\n                10 {\n                    references.fieldName = header_image\n                    as = headerImage\n                }\n\n                20 = AUS\\RelationProcessor\\DataProcessing\\RelationProcessor\n                20 {\n                    field = tx_customercompany_product_family\n\n                    dataProcessing {\n                        10 = TYPO3\\CMS\\Frontend\\DataProcessing\\FilesProcessor\n                        10 {\n                            references.fieldName = header_image\n                            as = headerImage\n                        }\n                    }\n                }\n            }\n        }\n    }\n}\n````\n\n# with ♥️ from anders und sehr GmbH\n\n\u003e If something did not work 😮  \n\u003e or you appreciate this Extension 🥰 let us know.\n\n\u003e We are hiring https://www.andersundsehr.com/karriere/\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandersundsehr%2Frelation-processor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandersundsehr%2Frelation-processor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandersundsehr%2Frelation-processor/lists"}