Download the PHP package shapecode/hidden-entity-type-bundle without Composer
On this page you can find all versions of the php package shapecode/hidden-entity-type-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package hidden-entity-type-bundle
Shapecode - Hidden Entity Type Bundle
Hidden entity type for Symfony forms.
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
Step 1: Download HiddenEntityTypeBundle using composer
Composer will install the bundle to your project's vendor directory.
Step 2: Enable the bundle
Enable the bundle in the config if flex it did´nt do it for you:
Usage
Simple usage:
You can use the type in your forms just like this:
You can also use the HiddenDocumentType::class
type:
There is only one required option "class". You must specify entity class in Symfony format that you want to be used in your form.
Advanced usage:
You can use the HiddenEntityType
or HiddenDocumentType
type in your forms this way:
Reporting an issue or a feature request
Feel free to report any issues. If you have an idea to make it better go ahead and modify and submit pull requests.
Original
The orginal source is from Glifery (https://github.com/Glifery/EntityHiddenTypeBundle) but seems not to be supported anymore.
All versions of hidden-entity-type-bundle with dependencies
symfony/framework-bundle Version ^5.4 || ^6.4 || ^7.0
symfony/config Version ^5.4 || ^6.4 || ^7.0
symfony/http-kernel Version ^5.4 || ^6.4 || ^7.0
symfony/dependency-injection Version ^5.4 || ^6.4 || ^7.0
symfony/form Version ^5.4 || ^6.4 || ^7.0
symfony/yaml Version ^5.4 || ^6.4 || ^7.0
symfony/options-resolver Version ^5.4 || ^6.4 || ^7.0
symfony/property-access Version ^5.4 || ^6.4 || ^7.0
symfony/property-info Version ^5.4 || ^6.4 || ^7.0
doctrine/persistence Version ^3.0
webmozart/assert Version ^1.9