Files
symfony-flex-recipes-contrib/odolbeau.phone-number-bundle.3.0.json
T
github-action[bot]andgithub-action[bot] e66fa34e7a Update Flex endpoint
2024-10-13 10:23:24 +00:00

50 lines
2.2 KiB
JSON

{
"manifests": {
"odolbeau/phone-number-bundle": {
"manifest": {
"bundles": {
"Misd\\PhoneNumberBundle\\MisdPhoneNumberBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"post-install-output": [
"<bg=green;fg=white></>",
"<bg=green;fg=white> Uncomment the configuration provided for doctrine",
"<bg=green;fg=white> and now can use the phone bundle as described here: </>",
"<bg=green;fg=white> https://github.com/odolbeau/phone-number-bundle#usage </>",
"<bg=green;fg=white> The Doctrine configuration has been already done.</>",
"<bg=green;fg=white> You now can use `phone_number` as an ORM-Type: </>",
"",
" #[ORM\\Column(type: 'phone_number')]",
" private ?PhoneNumber $phoneNumber = null;"
]
},
"files": {
"config/packages/misd_phone_number.yaml": {
"contents": [
"# 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",
"",
"#misd_phone_number:",
"# twig: false",
"# form: false",
"# serializer: false",
"# validator:",
"# default_region: GB",
""
],
"executable": false
}
},
"ref": "0d4442802a90dd2d1d6c18618998b43f69af0d95"
}
}
}