Download the PHP package m-adamski/phone-number-bundle without Composer
On this page you can find all versions of the php package m-adamski/phone-number-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download m-adamski/phone-number-bundle
More information about m-adamski/phone-number-bundle
Files in m-adamski/phone-number-bundle
Package phone-number-bundle
Short Description Phone Number Bundle for Symfony
License MIT
Informations about the package phone-number-bundle
PhoneNumber Bundle for Symfony 4
This bundle is deprecated! A new repository has been created to maintain the convention of package names. I suggest using this package.
Custom PhoneNumber Bundle integrating libphonenumber library into Symfony 4 project. This bundle is inspired by PhoneNumberBundle but simplified and created for own projects - of course you can use it if you want.
Installation
Use Composer to install this bundle into Symfony 4 project:
Configuration
Register new Doctrine Type in config/packages/doctrine.yaml
This Bundle provide type template for Bootstrap 4. Register it in config/packages/twig.yaml
You can also overwrite default Symfony Bootstrap 4 template by adding - '@PhoneNumber/Form/bootstrap_4_layout.html.twig'
into form_themes
parameter:
How to use it?
Bundle provide additional Doctrine Type and Form Type. First, edit entity to use PhoneNumber Type:
Now it's time to provide changes in Form Type:
License
MIT
All versions of phone-number-bundle with dependencies
giggsey/libphonenumber-for-php Version ^8.8
symfony/form Version ^3.4|^4.1
symfony/framework-bundle Version ^3.4|^4.1
symfony/orm-pack Version ^1.0
symfony/twig-bundle Version ^3.4|^4.1
symfony/validator Version ^3.4|^4.1