{"id":22423487,"url":"https://github.com/qbbr/entityhiddentypebundle","last_synced_at":"2026-05-06T07:34:57.934Z","repository":{"id":62531493,"uuid":"45888285","full_name":"qbbr/EntityHiddenTypeBundle","owner":"qbbr","description":"Symfony 2 entity hidden form type","archived":false,"fork":false,"pushed_at":"2023-12-14T15:20:29.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-03-14T18:18:34.791Z","etag":null,"topics":["doctrine-orm","formtype","php","symfony"],"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/qbbr.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,"publiccode":null,"codemeta":null}},"created_at":"2015-11-10T04:55:30.000Z","updated_at":"2022-12-27T08:08:53.000Z","dependencies_parsed_at":"2024-12-05T18:11:43.416Z","dependency_job_id":"26869b27-0cce-404f-ba3e-b0f098524a3e","html_url":"https://github.com/qbbr/EntityHiddenTypeBundle","commit_stats":{"total_commits":8,"total_committers":2,"mean_commits":4.0,"dds":0.25,"last_synced_commit":"d4fa0371e38229f37cd3d70947f803b04770320f"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbbr%2FEntityHiddenTypeBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbbr%2FEntityHiddenTypeBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbbr%2FEntityHiddenTypeBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbbr%2FEntityHiddenTypeBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qbbr","download_url":"https://codeload.github.com/qbbr/EntityHiddenTypeBundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245791899,"owners_count":20672668,"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":["doctrine-orm","formtype","php","symfony"],"created_at":"2024-12-05T18:11:32.254Z","updated_at":"2026-05-06T07:34:57.892Z","avatar_url":"https://github.com/qbbr.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EntityHiddenTypeBundle\n\n[![Latest Stable Version](https://poser.pugx.org/qbbr/entity-hidden-type-bundle/v/stable)](https://packagist.org/packages/qbbr/entity-hidden-type-bundle)\n[![Total Downloads](https://poser.pugx.org/qbbr/entity-hidden-type-bundle/downloads)](https://packagist.org/packages/qbbr/entity-hidden-type-bundle)\n[![License](https://poser.pugx.org/qbbr/entity-hidden-type-bundle/license)](https://packagist.org/packages/qbbr/entity-hidden-type-bundle)\n\n## Installation\n\n### Step 1: Download the Bundle\n\n#### Symfony \u003e= 2.8\n\n```bash\n$ composer require qbbr/entity-hidden-type-bundle\n```\n\n#### Symfony \u003c 2.8\n\n```bash\n$ composer require qbbr/entity-hidden-type-bundle 1.*\n```\n\n### Step 2: Enable the Bundle\n\n```php\n\u003c?php\n// app/AppKernel.php\n\n// ...\nclass AppKernel extends Kernel\n{\n    public function registerBundles()\n    {\n        $bundles = array(\n            // ...\n\n            new Qbbr\\EntityHiddenTypeBundle\\EntityHiddenTypeBundle(),\n        );\n\n        // ...\n    }\n\n    // ...\n}\n```\n\n## Usage\n\n```php\n\u003c?php\n// src/AppBundle/Form/Type/MyType.php\nnamespace AppBundle\\Form\\Type;\n\nuse Symfony\\Component\\Form\\AbstractType;\nuse Symfony\\Component\\Form\\FormBuilderInterface;\n// for Symfony \u003c 2.8 rm use type\nuse Qbbr\\EntityHiddenTypeBundle\\Form\\Type\\EntityHiddenType;\n\nclass MyType extends AbstractType\n{\n    public function buildForm(FormBuilderInterface $builder, array $options)\n    {\n        $builder\n            // for \u003c 2.8 use 'entity_hidden'\n            -\u003eadd('parent', EntityHiddenType::class, [\n                'class' =\u003e 'AppBundle\\Entity\\MyEntity',\n            ]);\n    }\n\n    // for \u003c 2.8 use getName()\n    public function getBlockPrefix()\n    {\n        return 'my';\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqbbr%2Fentityhiddentypebundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqbbr%2Fentityhiddentypebundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqbbr%2Fentityhiddentypebundle/lists"}