PHPackages                             shapecode/hidden-entity-type-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. shapecode/hidden-entity-type-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

shapecode/hidden-entity-type-bundle
===================================

Hidden field for Symfony entities

7.0.0(6mo ago)28448.1k↓50.2%12[1 PRs](https://github.com/shapecode/hidden-entity-type-bundle/pulls)1MITPHPPHP ^8.4CI passing

Since Feb 12Pushed 6mo ago2 watchersCompare

[ Source](https://github.com/shapecode/hidden-entity-type-bundle)[ Packagist](https://packagist.org/packages/shapecode/hidden-entity-type-bundle)[ Docs](https://github.com/shapecode/hidden-entity-type-bundle)[ Fund](http://paypal.me/nloges)[ GitHub Sponsors](https://github.com/nicklog)[ RSS](/packages/shapecode-hidden-entity-type-bundle/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (20)Versions (24)Used By (1)

Shapecode - Hidden Entity Type Bundle
=====================================

[](#shapecode---hidden-entity-type-bundle)

Hidden entity type for Symfony forms.

[![paypal](https://camo.githubusercontent.com/863cb4528d59447a96106e65c87541c857b3cc163ba9dd39edb9050bb5090618/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d50617970616c2d626c75652e737667)](http://paypal.me/nloges)

[![PHP Version](https://camo.githubusercontent.com/1e93b642143fc84a9919277323e141fa4ea7bc0e00a60f924d21d9656c46840a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7368617065636f64652f68696464656e2d656e746974792d747970652d62756e646c652e737667)](https://packagist.org/packages/shapecode/hidden-entity-type-bundle)[![Latest Stable Version](https://camo.githubusercontent.com/e1a3601cad43fa4d75099a3e48e5a48eca5c1c5aa3dae188de63e6439dee51e4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7368617065636f64652f68696464656e2d656e746974792d747970652d62756e646c652e7376673f6c6162656c3d737461626c65)](https://packagist.org/packages/shapecode/hidden-entity-type-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/241eceb672b06d330efac1f514ad6a87d8eefcc0c77852e0b18ad0db5e2944ca/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f7368617065636f64652f68696464656e2d656e746974792d747970652d62756e646c652e7376673f6c6162656c3d756e737461626c65)](https://packagist.org/packages/shapecode/hidden-entity-type-bundle)[![Total Downloads](https://camo.githubusercontent.com/5fb73ac824025c70123aef76374841f28e869dc11c0e2298cd8b66646fce1d65/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7368617065636f64652f68696464656e2d656e746974792d747970652d62756e646c652e737667)](https://packagist.org/packages/shapecode/hidden-entity-type-bundle)[![Monthly Downloads](https://camo.githubusercontent.com/f46d1f7d02b9fb45386e0517022db5f2dc799ccdba5b2de20c364dab3562ea5f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f7368617065636f64652f68696464656e2d656e746974792d747970652d62756e646c652e737667)](https://packagist.org/packages/shapecode/hidden-entity-type-bundle)[![Daily Downloads](https://camo.githubusercontent.com/ab9ea766a5897471978b7ff7a08c01138d9e88c712c8642c81d777c9ff220c6e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64642f7368617065636f64652f68696464656e2d656e746974792d747970652d62756e646c652e737667)](https://packagist.org/packages/shapecode/hidden-entity-type-bundle)[![License](https://camo.githubusercontent.com/7332b4b10a01ab69d30c0c4db91c20784660ee68e0580f35649a2f17b7cfde15/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7368617065636f64652f68696464656e2d656e746974792d747970652d62756e646c652e737667)](https://packagist.org/packages/shapecode/hidden-entity-type-bundle)

What is it?
-----------

[](#what-is-it)

This is a Symfony form type that allows you to add an entity in your form that would be displayed as a hidden input.

Installation
------------

[](#installation)

### Step 1: Download HiddenEntityTypeBundle using composer

[](#step-1-download-hiddenentitytypebundle-using-composer)

```
$ composer require shapecode/hidden-entity-type-bundle
```

Composer will install the bundle to your project's vendor directory.

### Step 2: Enable the bundle

[](#step-2-enable-the-bundle)

Enable the bundle in the config if flex it did´nt do it for you:

```
