Download the PHP package nepada/phone-number-doctrine without Composer
On this page you can find all versions of the php package nepada/phone-number-doctrine. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download nepada/phone-number-doctrine
More information about nepada/phone-number-doctrine
Files in nepada/phone-number-doctrine
Download nepada/phone-number-doctrine
More information about nepada/phone-number-doctrine
Files in nepada/phone-number-doctrine
Vendor nepada
Package phone-number-doctrine
Short Description Phone number type for Doctrine.
License BSD-3-Clause
Package phone-number-doctrine
Short Description Phone number type for Doctrine.
License BSD-3-Clause
Please rate this library. Is it a good library?
Informations about the package phone-number-doctrine
Phone number Doctrine type
Installation
Via Composer:
Register the type in your bootstrap:
In Nette with nettrine/dbal integration, you can register the types in your configuration:
Usage
PhoneNumberType
maps database value to phone number value object (see brick/phonenumber for further details) and back. The phone number is stored using E164 format, i.e. a '+' sign followed by a series of digits comprising the country code and national number.
Example usage in the entity:
Example usage in query builder:
All versions of phone-number-doctrine with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1.0 <8.5
doctrine/dbal Version ^3.4@dev || ^4.0@dev
brick/phonenumber Version ^0.2.2@dev || ^0.3@dev || ^0.4@dev || ^0.5@dev || ^0.6@dev
doctrine/dbal Version ^3.4@dev || ^4.0@dev
brick/phonenumber Version ^0.2.2@dev || ^0.3@dev || ^0.4@dev || ^0.5@dev || ^0.6@dev
The package nepada/phone-number-doctrine contains the following files
Loading the files please wait ....