Download the PHP package cherif/php-algerian-mobile-phone-number-doctrine without Composer
On this page you can find all versions of the php package cherif/php-algerian-mobile-phone-number-doctrine. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cherif/php-algerian-mobile-phone-number-doctrine
More information about cherif/php-algerian-mobile-phone-number-doctrine
Files in cherif/php-algerian-mobile-phone-number-doctrine
Package php-algerian-mobile-phone-number-doctrine
Short Description Use cherif/algerian-mobile-phone-number with doctrine
License MIT
Informations about the package php-algerian-mobile-phone-number-doctrine
cherif/php-algerian-mobile-phone-number-doctrine
The cherif/php-algerian-mobile-phone-number-doctrine package allows to use cherif/algerian-mobile-phone-number as a Doctrine field type.
Installtion
The recommended way of installation is by using Packagist and Composer.
The following command should be executed in order to add the package as a requirement to composer.json
of a project:
Examples:
To configure Doctrine to use cherif/php-algerian-mobile-phone-number-doctrine as a field type, you'll need to set up the following in your bootstrap:
In Symfony:
Usage:
Then, in your entities, you may annotate properties by setting the @Column type to algerian_mobile_phone_number
:
To use XML Mapping instead of PHP annotations.
Contribution
Contributions are welcome to make this library better.
- Clone the repo:
and enter to the cloned repository directory.
- Install dependencies:
Testing:
Run composer script for testing:
License
MIT License.
All versions of php-algerian-mobile-phone-number-doctrine with dependencies
cherif/algerian-mobile-phone-number Version ^0.5.0
doctrine/dbal Version ^2.10