{"id":21525346,"url":"https://github.com/elbformat/field-helper-bundle","last_synced_at":"2025-04-09T23:22:25.200Z","repository":{"id":37033545,"uuid":"429052268","full_name":"elbformat/field-helper-bundle","owner":"elbformat","description":"This bundle provides helpers to extract and set structured data from and to ibexa content fields","archived":false,"fork":false,"pushed_at":"2024-04-13T20:58:25.000Z","size":198,"stargazers_count":8,"open_issues_count":14,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-04-14T11:00:16.039Z","etag":null,"topics":["ezplatform","ibexa","ibexa-bundle","ibexa-platform","ibexadxp"],"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/elbformat.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":"2021-11-17T13:15:39.000Z","updated_at":"2024-04-17T06:33:08.994Z","dependencies_parsed_at":"2024-01-05T09:38:25.815Z","dependency_job_id":"a1458411-7c62-4059-a12f-bdbdaf5b5c17","html_url":"https://github.com/elbformat/field-helper-bundle","commit_stats":{"total_commits":26,"total_committers":4,"mean_commits":6.5,"dds":0.1923076923076923,"last_synced_commit":"6b44ab69646f95be64a1b68ab0c72b3cf99c6e8a"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elbformat%2Ffield-helper-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elbformat%2Ffield-helper-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elbformat%2Ffield-helper-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elbformat%2Ffield-helper-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elbformat","download_url":"https://codeload.github.com/elbformat/field-helper-bundle/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248126582,"owners_count":21051969,"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":["ezplatform","ibexa","ibexa-bundle","ibexa-platform","ibexadxp"],"created_at":"2024-11-24T01:34:38.526Z","updated_at":"2025-04-09T23:22:25.174Z","avatar_url":"https://github.com/elbformat.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CircleCI](https://circleci.com/gh/elbformat/field-helper-bundle/tree/main.svg?style=svg)](https://circleci.com/gh/elbformat/field-helper-bundle/tree/main)\n[![codecov](https://codecov.io/gh/elbformat/field-helper-bundle/branch/main/graph/badge.svg?token=TQATH67HKN)](https://codecov.io/gh/elbformat/field-helper-bundle)\n[![License Badge](https://img.shields.io/github/license/datengaertnerei/test-data-service.svg)](https://mit-license.org/)\n\n# Elbformat Field Helper Bundle for ibexa DXP\nThis bundle provides helpers to extract and set structured data from and to ibexa content fields.\n\nWhat are \"Field helpers\"?\n=========================\nField helpers are intended to easily and safely access fields from content objects in a typed manner.\nWith this you can make your project safe for static code analysis without adding too much boilerplate code everywhere.\nEspecially for importer scripts, that create content, there is an update method which helps you to track changes.\nWith thism, you can speed up the update process by not publishing it, when no change was made at all.\n\nQuick usage\n===========\nInstall bundle via composer\n```console\n$ composer require elbformat/field-helper-bundle\n```\nUse like this\n```php\npublic function getFields(RegistryInterface $fieldHelperRegistry, Content $content) {\n    $myText = $fieldHelperRegistry-\u003egetTextFieldHelper()-\u003egetString($content, 'text_field');\n    $linkObject = $fieldHelperRegistry-\u003egetLinkFieldHelper()-\u003egetLink($content, 'my_url');\n    $linkUrl = $linkObj-\u003egetUrl();\n    $linkText = $linkObj-\u003egetText();\n}\n```\n\nFurther topics\n==============\n* [Installation](docs/installation.md)\n* [Changelog](docs/changelog.md)\n* [How to use the field helpers](docs/usage.md)\n* [List of supported fields and their helpers](docs/fields.md)\n* [Extending existing helpers](docs/extending.md)\n* [Writing your own helpers](docs/own_helper.md)\n* [Running tests locally](docs/testing.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felbformat%2Ffield-helper-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felbformat%2Ffield-helper-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felbformat%2Ffield-helper-bundle/lists"}