summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Ctype/composer.json3
-rw-r--r--src/Iconv/composer.json3
-rw-r--r--src/Mbstring/composer.json3
-rw-r--r--src/Php81/composer.json36
-rw-r--r--src/Uuid/composer.json3
5 files changed, 48 insertions, 0 deletions
diff --git a/src/Ctype/composer.json b/src/Ctype/composer.json
index f0621a3..ccb8e57 100644
--- a/src/Ctype/composer.json
+++ b/src/Ctype/composer.json
@@ -18,6 +18,9 @@
"require": {
"php": ">=7.1"
},
+ "provide": {
+ "ext-ctype": "*"
+ },
"autoload": {
"psr-4": { "Symfony\\Polyfill\\Ctype\\": "" },
"files": [ "bootstrap.php" ]
diff --git a/src/Iconv/composer.json b/src/Iconv/composer.json
index 17483e0..a1bd3a0 100644
--- a/src/Iconv/composer.json
+++ b/src/Iconv/composer.json
@@ -18,6 +18,9 @@
"require": {
"php": ">=7.1"
},
+ "provide": {
+ "ext-iconv": "*"
+ },
"autoload": {
"psr-4": { "Symfony\\Polyfill\\Iconv\\": "" },
"files": [ "bootstrap.php" ]
diff --git a/src/Mbstring/composer.json b/src/Mbstring/composer.json
index 2ed7a74..1fa21ca 100644
--- a/src/Mbstring/composer.json
+++ b/src/Mbstring/composer.json
@@ -18,6 +18,9 @@
"require": {
"php": ">=7.1"
},
+ "provide": {
+ "ext-mbstring": "*"
+ },
"autoload": {
"psr-4": { "Symfony\\Polyfill\\Mbstring\\": "" },
"files": [ "bootstrap.php" ]
diff --git a/src/Php81/composer.json b/src/Php81/composer.json
new file mode 100644
index 0000000..c39ccf4
--- /dev/null
+++ b/src/Php81/composer.json
@@ -0,0 +1,36 @@
+{
+ "name": "symfony/polyfill-php81",
+ "type": "library",
+ "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions",
+ "keywords": ["polyfill", "shim", "compatibility", "portable"],
+ "homepage": "https://symfony.com",
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "require": {
+ "php": ">=7.1"
+ },
+ "autoload": {
+ "psr-4": { "Symfony\\Polyfill\\Php81\\": "" },
+ "files": [ "bootstrap.php" ],
+ "classmap": [ "Resources/stubs" ]
+ },
+ "minimum-stability": "dev",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ }
+}
diff --git a/src/Uuid/composer.json b/src/Uuid/composer.json
index 20eacb0..b3a91f6 100644
--- a/src/Uuid/composer.json
+++ b/src/Uuid/composer.json
@@ -18,6 +18,9 @@
"require": {
"php": ">=7.1"
},
+ "provide": {
+ "ext-uuid": "*"
+ },
"autoload": {
"psr-4": { "Symfony\\Polyfill\\Uuid\\": "" },
"files": [ "bootstrap.php" ]