dvlpm / serializable-type-bundle
Serializable Type Bundle
Installs: 6 992
Dependents: 0
Suggesters: 0
Security: 0
Type:symfony-bundle
pkg:composer/dvlpm/serializable-type-bundle
Requires
- php: >=8.0
- doctrine/doctrine-bundle: ^2.1.0
- symfony/framework-bundle: ^5.3 || ^6.0 || ^7.0
- symfony/serializer: ^5.3 || ^6.0 || ^7.0
This package is auto-updated.
Last update: 2025-09-24 15:43:37 UTC
README
Installation
Usage is as simple as
composer require dvlpm/serializable-type-bundle:^1.0
// Kernel
public function registerBundles()
{
// ...
$bundles[] = new \Dvlpm\SerializableTypeBundle\DvlpmSerializableTypeBundle();
// ...
}
# config.yml
dvlpm_serializable_type:
dbal_types:
my_domain_type: My\Domain\Type
class MyEntity
{
/** @ORM\Column(type="my_domain_type") */
private $value;
}
This will enable conversion of value field from your type