{"id":23514687,"url":"https://github.com/mrself/symfony-tree-form-type","last_synced_at":"2026-05-02T06:32:03.970Z","repository":{"id":57021087,"uuid":"328909777","full_name":"mrself/symfony-tree-form-type","owner":"mrself","description":"Symfony 4 tree from type based on JsTree plugin.","archived":false,"fork":false,"pushed_at":"2021-05-03T11:02:40.000Z","size":684,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-16T21:43:15.074Z","etag":null,"topics":["symfony","symfony-bundle","symfony4","tree-form"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/mrself.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}},"created_at":"2021-01-12T07:44:11.000Z","updated_at":"2021-05-03T11:02:40.000Z","dependencies_parsed_at":"2022-08-23T13:50:41.736Z","dependency_job_id":null,"html_url":"https://github.com/mrself/symfony-tree-form-type","commit_stats":null,"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrself%2Fsymfony-tree-form-type","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrself%2Fsymfony-tree-form-type/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrself%2Fsymfony-tree-form-type/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrself%2Fsymfony-tree-form-type/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrself","download_url":"https://codeload.github.com/mrself/symfony-tree-form-type/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254029008,"owners_count":22002284,"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":["symfony","symfony-bundle","symfony4","tree-form"],"created_at":"2024-12-25T14:09:58.638Z","updated_at":"2026-05-02T06:32:03.746Z","avatar_url":"https://github.com/mrself.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Symfony tree form plugin\n\n**Still under development!**\n\n## Installing\n\n`composer require mrself/symfony-tree-form-type:^1.2.3`\n\nMake sure `config/packages/twig.yaml` has the following code:\n\n```yaml\ntwig:\n    form_themes:\n      - '@TreeType/tree_type.html.twig'\n```\n\n### Assets\n\nThe main js asset is located here `assets/dist/main.js`. It should be required in your front-end bundle or just added\nto your html.\n\n## Usage\n\n```php\npublic function buildForm(\\Symfony\\Component\\Form\\FormBuilderInterface $builder, array $options)\n{\n    $builder-\u003eadd('alternatives', MrTreeType::class, [\n        'class' =\u003e DataClass::class,\n        'tree' =\u003e [\n            [\n                'id' =\u003e '1',\n                'text' =\u003e 'Item 1',\n                'parent' =\u003e '#'\n            ]\n         ],\n        'multiple' =\u003e true\n    ]);\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrself%2Fsymfony-tree-form-type","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrself%2Fsymfony-tree-form-type","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrself%2Fsymfony-tree-form-type/lists"}