forked from GNUsocial/gnu-social
[DEPENDENCY] Add odolbeau/phone-number-bundle
This commit is contained in:
parent
f907843d43
commit
d0c999199b
@ -10,6 +10,7 @@
|
|||||||
"alchemy/zippy": "v0.5.x-dev",
|
"alchemy/zippy": "v0.5.x-dev",
|
||||||
"erusev/parsedown": "^1.7",
|
"erusev/parsedown": "^1.7",
|
||||||
"lstrojny/functional-php": "^1.11",
|
"lstrojny/functional-php": "^1.11",
|
||||||
|
"odolbeau/phone-number-bundle": "^3.1",
|
||||||
"php-ds/php-ds": "^1.2",
|
"php-ds/php-ds": "^1.2",
|
||||||
"sensio/framework-extra-bundle": "^5.1",
|
"sensio/framework-extra-bundle": "^5.1",
|
||||||
"someonewithpc/memcached-polyfill": "^1.0",
|
"someonewithpc/memcached-polyfill": "^1.0",
|
||||||
|
182
composer.lock
generated
182
composer.lock
generated
@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "77727097fb84dd936440782aa90e0671",
|
"content-hash": "c4880da298d810b568e53fca29307f08",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "alchemy/resource-component",
|
"name": "alchemy/resource-component",
|
||||||
@ -1737,6 +1737,123 @@
|
|||||||
],
|
],
|
||||||
"time": "2019-12-30T22:54:17+00:00"
|
"time": "2019-12-30T22:54:17+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "giggsey/libphonenumber-for-php",
|
||||||
|
"version": "8.12.7.1",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/giggsey/libphonenumber-for-php.git",
|
||||||
|
"reference": "fda8a51ad0769d82ce7023255e52e9c45efc1e75"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/giggsey/libphonenumber-for-php/zipball/fda8a51ad0769d82ce7023255e52e9c45efc1e75",
|
||||||
|
"reference": "fda8a51ad0769d82ce7023255e52e9c45efc1e75",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"giggsey/locale": "^1.7",
|
||||||
|
"php": ">=5.3.2",
|
||||||
|
"symfony/polyfill-mbstring": "^1.17"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"pear/pear-core-minimal": "^1.9",
|
||||||
|
"pear/pear_exception": "^1.0",
|
||||||
|
"pear/versioncontrol_git": "^0.5",
|
||||||
|
"phing/phing": "^2.7",
|
||||||
|
"php-coveralls/php-coveralls": "^1.0|^2.0",
|
||||||
|
"phpunit/phpunit": "^4.8.36|^5.0",
|
||||||
|
"symfony/console": "^2.8|^3.0"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "8.x-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"libphonenumber\\": "src/"
|
||||||
|
},
|
||||||
|
"exclude-from-classmap": [
|
||||||
|
"/src/data/",
|
||||||
|
"/src/carrier/data/",
|
||||||
|
"/src/geocoding/data/",
|
||||||
|
"/src/timezone/data/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"Apache-2.0"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Joshua Gigg",
|
||||||
|
"email": "giggsey@gmail.com",
|
||||||
|
"homepage": "https://giggsey.com/"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "PHP Port of Google's libphonenumber",
|
||||||
|
"homepage": "https://github.com/giggsey/libphonenumber-for-php",
|
||||||
|
"keywords": [
|
||||||
|
"geocoding",
|
||||||
|
"geolocation",
|
||||||
|
"libphonenumber",
|
||||||
|
"mobile",
|
||||||
|
"phonenumber",
|
||||||
|
"validation"
|
||||||
|
],
|
||||||
|
"time": "2020-07-25T15:34:01+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "giggsey/locale",
|
||||||
|
"version": "1.9",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/giggsey/Locale.git",
|
||||||
|
"reference": "b07f1eace8072ccc61445ad8fbd493ff9d783043"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/giggsey/Locale/zipball/b07f1eace8072ccc61445ad8fbd493ff9d783043",
|
||||||
|
"reference": "b07f1eace8072ccc61445ad8fbd493ff9d783043",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.3.2"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"pear/pear-core-minimal": "^1.9",
|
||||||
|
"pear/pear_exception": "^1.0",
|
||||||
|
"pear/versioncontrol_git": "^0.5",
|
||||||
|
"phing/phing": "~2.7",
|
||||||
|
"php-coveralls/php-coveralls": "^1.0|^2.0",
|
||||||
|
"phpunit/phpunit": "^4.8|^5.0",
|
||||||
|
"symfony/console": "^2.8|^3.0|^4.0",
|
||||||
|
"symfony/filesystem": "^2.8|^3.0|^4.0",
|
||||||
|
"symfony/finder": "^2.8|^3.0|^4.0",
|
||||||
|
"symfony/process": "^2.8|^3.0|^4.0"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Giggsey\\Locale\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Joshua Gigg",
|
||||||
|
"email": "giggsey@gmail.com",
|
||||||
|
"homepage": "http://giggsey.com/"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Locale functions required by libphonenumber-for-php",
|
||||||
|
"time": "2020-07-07T11:16:24+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "laminas/laminas-code",
|
"name": "laminas/laminas-code",
|
||||||
"version": "3.4.1",
|
"version": "3.4.1",
|
||||||
@ -2233,6 +2350,69 @@
|
|||||||
],
|
],
|
||||||
"time": "2020-04-13T14:42:16+00:00"
|
"time": "2020-04-13T14:42:16+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "odolbeau/phone-number-bundle",
|
||||||
|
"version": "v3.1.1",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/odolbeau/phone-number-bundle.git",
|
||||||
|
"reference": "7f9530b521f4baaf55232f47a13b737b9343e895"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/odolbeau/phone-number-bundle/zipball/7f9530b521f4baaf55232f47a13b737b9343e895",
|
||||||
|
"reference": "7f9530b521f4baaf55232f47a13b737b9343e895",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"giggsey/libphonenumber-for-php": "^8.0",
|
||||||
|
"php": "^7.2",
|
||||||
|
"symfony/framework-bundle": "^3.4|^4.3|^5.0"
|
||||||
|
},
|
||||||
|
"replace": {
|
||||||
|
"misd/phone-number-bundle": "self.version"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"doctrine/doctrine-bundle": "^1.12|^2.0",
|
||||||
|
"phpunit/phpunit": "^8.4",
|
||||||
|
"symfony/form": "^3.4|^4.3|^5.0",
|
||||||
|
"symfony/serializer": "^3.4|^4.3|^5.0",
|
||||||
|
"symfony/twig-bundle": "^3.4|^4.3|^5.0",
|
||||||
|
"symfony/validator": "^3.4|^4.3|^5.0"
|
||||||
|
},
|
||||||
|
"suggest": {
|
||||||
|
"doctrine/doctrine-bundle": "Add a DBAL mapping type",
|
||||||
|
"symfony/form": "Add a data transformer",
|
||||||
|
"symfony/serializer": "Serialize/deserialize phone numbers using Symfony library",
|
||||||
|
"symfony/twig-bundle": "Format phone numbers in Twig templates",
|
||||||
|
"symfony/validator": "Add a validation constraint"
|
||||||
|
},
|
||||||
|
"type": "symfony-bundle",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "3.1.x-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Misd\\PhoneNumberBundle\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"description": "Integrates libphonenumber into your Symfony application",
|
||||||
|
"homepage": "https://github.com/odolbeau/phone-number-bundle",
|
||||||
|
"keywords": [
|
||||||
|
"bundle",
|
||||||
|
"libphonenumber",
|
||||||
|
"phone-number",
|
||||||
|
"phonenumber",
|
||||||
|
"telephone number"
|
||||||
|
],
|
||||||
|
"time": "2020-06-19T12:08:34+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "php-ds/php-ds",
|
"name": "php-ds/php-ds",
|
||||||
"version": "v1.2.0",
|
"version": "v1.2.0",
|
||||||
|
@ -13,4 +13,5 @@ return [
|
|||||||
Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
|
Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
|
||||||
Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true],
|
Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true],
|
||||||
SymfonyCasts\Bundle\VerifyEmail\SymfonyCastsVerifyEmailBundle::class => ['all' => true],
|
SymfonyCasts\Bundle\VerifyEmail\SymfonyCastsVerifyEmailBundle::class => ['all' => true],
|
||||||
|
Misd\PhoneNumberBundle\MisdPhoneNumberBundle::class => ['all' => true],
|
||||||
];
|
];
|
||||||
|
4
config/packages/misd_phone_number.yaml
Normal file
4
config/packages/misd_phone_number.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
doctrine:
|
||||||
|
dbal:
|
||||||
|
types:
|
||||||
|
phone_number: Misd\PhoneNumberBundle\Doctrine\DBAL\Types\PhoneNumberType
|
18
symfony.lock
18
symfony.lock
@ -111,6 +111,12 @@
|
|||||||
".php_cs.dist"
|
".php_cs.dist"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"giggsey/libphonenumber-for-php": {
|
||||||
|
"version": "8.12.7.1"
|
||||||
|
},
|
||||||
|
"giggsey/locale": {
|
||||||
|
"version": "1.9"
|
||||||
|
},
|
||||||
"laminas/laminas-code": {
|
"laminas/laminas-code": {
|
||||||
"version": "3.4.1"
|
"version": "3.4.1"
|
||||||
},
|
},
|
||||||
@ -135,6 +141,18 @@
|
|||||||
"ocramius/proxy-manager": {
|
"ocramius/proxy-manager": {
|
||||||
"version": "2.8.0"
|
"version": "2.8.0"
|
||||||
},
|
},
|
||||||
|
"odolbeau/phone-number-bundle": {
|
||||||
|
"version": "3.0",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes-contrib",
|
||||||
|
"branch": "master",
|
||||||
|
"version": "3.0",
|
||||||
|
"ref": "4388686329b81291918a948cd42891829fb1de71"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"config/packages/misd_phone_number.yaml"
|
||||||
|
]
|
||||||
|
},
|
||||||
"php": {
|
"php": {
|
||||||
"version": "7.4"
|
"version": "7.4"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user