diff --git a/misd/phone-number-bundle/1.3/config/packages/misd_phone_number.yaml b/misd/phone-number-bundle/1.3/config/packages/misd_phone_number.yaml new file mode 100644 index 00000000..ae476b0c --- /dev/null +++ b/misd/phone-number-bundle/1.3/config/packages/misd_phone_number.yaml @@ -0,0 +1,6 @@ +# To persist libphonenumber\PhoneNumber objects, add the Misd\PhoneNumberBundle\Doctrine\DBAL\Types\PhoneNumberType mapping to your application's config. +# This requires: doctrine/doctrine-bundle +doctrine: + dbal: + types: + phone_number: Misd\PhoneNumberBundle\Doctrine\DBAL\Types\PhoneNumberType diff --git a/misd/phone-number-bundle/1.3/manifest.json b/misd/phone-number-bundle/1.3/manifest.json new file mode 100644 index 00000000..333a9a25 --- /dev/null +++ b/misd/phone-number-bundle/1.3/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Misd\\PhoneNumberBundle\\MisdPhoneNumberBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/misd/phone-number-bundle/1.3/post-install.txt b/misd/phone-number-bundle/1.3/post-install.txt new file mode 100644 index 00000000..7dd5c5b9 --- /dev/null +++ b/misd/phone-number-bundle/1.3/post-install.txt @@ -0,0 +1,8 @@ + + You now can use the phone bundle as descriped here: + https://github.com/misd-service-development/phone-number-bundle#usage + The Doctrine configuration has been already done. + You now can use `phone_number` as a ORM-Type: + + /** @ORM\Column(type="phone_number") */ + private $phoneNumber;