{"id":19095102,"url":"https://github.com/shopsys/form-types-bundle","last_synced_at":"2025-04-30T14:09:31.622Z","repository":{"id":45642944,"uuid":"99314360","full_name":"shopsys/form-types-bundle","owner":"shopsys","description":"[READ-ONLY] Easy to use custom Symfony form types","archived":false,"fork":false,"pushed_at":"2025-04-15T07:55:20.000Z","size":193,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"17.0","last_synced_at":"2025-04-15T08:45:02.515Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":false,"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/shopsys.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"publiccode":null,"codemeta":null}},"created_at":"2017-08-04T07:08:01.000Z","updated_at":"2025-03-13T10:02:49.000Z","dependencies_parsed_at":"2024-03-07T11:45:56.503Z","dependency_job_id":"8a8fa957-3b7f-4589-9494-ddaa035c1d01","html_url":"https://github.com/shopsys/form-types-bundle","commit_stats":null,"previous_names":[],"tags_count":53,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shopsys%2Fform-types-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shopsys%2Fform-types-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shopsys%2Fform-types-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shopsys%2Fform-types-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shopsys","download_url":"https://codeload.github.com/shopsys/form-types-bundle/tar.gz/refs/heads/17.0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251716938,"owners_count":21632208,"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-09T03:32:45.925Z","updated_at":"2025-04-30T14:09:31.589Z","avatar_url":"https://github.com/shopsys.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shopsys Form Types Bundle\n\n[![Downloads](https://img.shields.io/packagist/dt/shopsys/form-types-bundle.svg)](https://packagist.org/packages/shopsys/form-types-bundle)\n\nSymfony bundle adding form types for usage in [Shopsys Platform](https://www.shopsys-framework.com), its components and plugins.\n\nThis repository is maintained by [shopsys/shopsys] monorepo, information about changes is in [monorepo CHANGELOG.md](https://github.com/shopsys/shopsys/blob/master/CHANGELOG.md).\n\n## Installation\n\nThe plugin is a Symfony bundle and is installed in the same way:\n\n### Download\n\nFirst, you download the package using [Composer](https://getcomposer.org/):\n\n```\ncomposer require shopsys/form-types\n```\n\n## How to use a custom form type\n\nThe form types in this package are regular Symfony form types.\nSee [Symfony Forms Documentation](https://symfony.com/doc/current/forms.html) for detailed explanation.\n\n## Contents\n\n### [MultidomainType](./src/MultidomainType.php)\n\nCompound type that renders one form of given type for each domain.\n\nIt can be configured via the following options:\n\n- `entry_type` - The type of the inner form.\n  Defaults to `TextType::class`.\n- `entry_options` - The options of the inner forms.\n  Defaults to `[]`.\n- `options_by_domain_id` - The options of the inner forms based on the domain ID.\n  Provide arrays indexed by the domain ID, values are merged with the `entry_options`.\n  Defaults to `[]`.\n\nThe data of the inner forms are returned as an array indexed by the domain ID.\n\n![MultidomainType usage example](./docs/images/multidomain_type_example.png)\n\n### [YesNoType](./src/YesNoType.php)\n\nNatural looking choice type for boolean value inputs.\n\nIt has no notable options.\n\nA boolean value is accepted/returned as data.\nA null value can be accepted/returned when no radio button is checked.\n\n![YesNoType usage example](./docs/images/yes_no_type_example.png)\n\n## Contributing\n\nThank you for your contributions to Shopsys Form Types Bundle package.\nTogether we are making Shopsys Platform better.\n\nThis repository is READ-ONLY.\nIf you want to [report issues](https://github.com/shopsys/shopsys/issues/new) and/or send [pull requests](https://github.com/shopsys/shopsys/compare),\nplease use the main [Shopsys repository](https://github.com/shopsys/shopsys).\n\nPlease, check our [Contribution Guide](https://github.com/shopsys/shopsys/blob/master/CONTRIBUTING.md) before contributing.\n\n## Support\n\nWhat to do when you are in troubles or need some help?\nThe best way is to join our [Slack](https://join.slack.com/t/shopsysframework/shared_invite/zt-11wx9au4g-e5pXei73UJydHRQ7nVApAQ).\n\nIf you want to [report issues](https://github.com/shopsys/shopsys/issues/new), please use the main [Shopsys repository](https://github.com/shopsys/shopsys).\n\n[shopsys/shopsys]: (https://github.com/shopsys/shopsys)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshopsys%2Fform-types-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshopsys%2Fform-types-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshopsys%2Fform-types-bundle/lists"}