PHPackages                             gibilogic/hidden-entity-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. gibilogic/hidden-entity-bundle

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

gibilogic/hidden-entity-bundle
==============================

GiBiLogic Hidden Entity Bundle

1.0.0(10y ago)01.5kMITPHP

Since Oct 15Pushed 8y ago3 watchersCompare

[ Source](https://github.com/gibilogic/hidden-entity-bundle)[ Packagist](https://packagist.org/packages/gibilogic/hidden-entity-bundle)[ Docs](http://www.gibilogic.com)[ RSS](/packages/gibilogic-hidden-entity-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

GiBiLogic HiddenEntityBundle
============================

[](#gibilogic-hiddenentitybundle)

A small bundle that contains a ready-to-use hidden entity form type for Symfony 2.

This is basically an hidden form type that's used to store an entity ID; a transformer will manage the ID-to-entity and entity-to-ID conversions by using the ObjectManager of Doctrine ORM.

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

[](#installation)

Add this bundle to the composer.json of your application with the console command:

```
composer require gibilogic/hidden-entity-bundle
```

Or, if you are using `composer.phar`, use the console command:

```
php composer.phar require gibilogic/hidden-entity-bundle
```

Usage
-----

[](#usage)

Inside one of your form, simply add a new `hidden_entity` field to the builder:

```
/**
 * {@inheritdoc}
 */
public function buildForm(FormBuilderInterface $builder, array $options)
{
    $builder
        // ..
        ->add('category', 'hidden_entity', array(
            'required' => true,
            'class' => 'AppBundle:Category'
        ))
        // ..
    ;
}
```

The `class` options is mandatory and must contain your entity's class name (as shown in the example above).

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~905 days

Total

2

Last Release

2964d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f1a2b31be978142dd8ab4a855b8c22fd733125ba97f36c627f0787759e5da846?d=identicon)[gibilogic](/maintainers/gibilogic)

---

Top Contributors

[![Ingannatore](https://avatars.githubusercontent.com/u/691298?v=4)](https://github.com/Ingannatore "Ingannatore (1 commits)")

---

Tags

typeentityhiddenform

### Embed Badge

![Health badge](/badges/gibilogic-hidden-entity-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/gibilogic-hidden-entity-bundle/health.svg)](https://phpackages.com/packages/gibilogic-hidden-entity-bundle)
```

###  Alternatives

[phpoption/phpoption

Option Type for PHP

2.7k541.2M159](/packages/phpoption-phpoption)[shapecode/hidden-entity-type-bundle

Hidden field for Symfony entities

28428.6k1](/packages/shapecode-hidden-entity-type-bundle)[jetbrains/phpstorm-stubs

PHP runtime &amp; extensions header files for PhpStorm

1.4k27.7M68](/packages/jetbrains-phpstorm-stubs)[marc-mabe/php-enum

Simple and fast implementation of enumerations with native PHP

49644.8M97](/packages/marc-mabe-php-enum)[symfony/type-info

Extracts PHP types information.

19951.9M114](/packages/symfony-type-info)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
