diff --git a/src/Bundle/ChillMainBundle/DependencyInjection/ChillMainExtension.php b/src/Bundle/ChillMainBundle/DependencyInjection/ChillMainExtension.php index 6e3d6d85e..5ad7348ee 100644 --- a/src/Bundle/ChillMainBundle/DependencyInjection/ChillMainExtension.php +++ b/src/Bundle/ChillMainBundle/DependencyInjection/ChillMainExtension.php @@ -39,6 +39,7 @@ use Chill\MainBundle\Form\LocationTypeType; use Chill\MainBundle\Form\UserJobType; use Chill\MainBundle\Form\UserType; use Exception; +use Misd\PhoneNumberBundle\Doctrine\DBAL\Types\PhoneNumberType; use Ramsey\Uuid\Doctrine\UuidType; use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\ContainerBuilder; @@ -235,6 +236,7 @@ class ChillMainExtension extends Extension implements 'dateinterval' => NativeDateIntervalType::class, 'point' => PointType::class, 'uuid' => UuidType::class, + 'phone_number' => PhoneNumberType::class, ], ], ] diff --git a/src/Bundle/ChillMainBundle/composer.json b/src/Bundle/ChillMainBundle/composer.json index 0c95c432a..913a760cb 100644 --- a/src/Bundle/ChillMainBundle/composer.json +++ b/src/Bundle/ChillMainBundle/composer.json @@ -26,7 +26,8 @@ ], "require": { "league/csv": "^9.6", - "phpoffice/phpspreadsheet": "~1.2" + "phpoffice/phpspreadsheet": "~1.2", + "odolbeau/phone-number-bundle": "^3.6" }, "require-dev": { },