You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by hg...@apache.org on 2026/06/09 12:41:02 UTC

(iggy) branch master updated: feat(php): fill Packagist metadata (#3380)

This is an automated email from the ASF dual-hosted git repository.

hubcio pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iggy.git


The following commit(s) were added to refs/heads/master by this push:
     new d70a7a880 feat(php): fill Packagist metadata (#3380)
d70a7a880 is described below

commit d70a7a880f135855e14cfed5f6340d5a146795b0
Author: Diaconu Radu-Mihai <52...@users.noreply.github.com>
AuthorDate: Tue Jun 9 15:40:58 2026 +0300

    feat(php): fill Packagist metadata (#3380)
---
 foreign/php/.gitattributes | 29 +++++++++++++++++++++++++++++
 foreign/php/composer.json  | 35 ++++++++++++++++++++++++++++++++++-
 2 files changed, 63 insertions(+), 1 deletion(-)

diff --git a/foreign/php/.gitattributes b/foreign/php/.gitattributes
new file mode 100644
index 000000000..2cb8f7c14
--- /dev/null
+++ b/foreign/php/.gitattributes
@@ -0,0 +1,29 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+/.gitattributes export-ignore
+/.gitignore export-ignore
+/Dockerfile.test export-ignore
+/composer.lock export-ignore
+/docker-compose.test.yml export-ignore
+/phpunit.xml.dist export-ignore
+/target export-ignore
+/target/** export-ignore
+/tests export-ignore
+/tests/** export-ignore
+/vendor export-ignore
+/vendor/** export-ignore
diff --git a/foreign/php/composer.json b/foreign/php/composer.json
index d7175ac2c..d711c646a 100644
--- a/foreign/php/composer.json
+++ b/foreign/php/composer.json
@@ -1,14 +1,47 @@
 {
     "name": "apache/iggy-php",
     "description": "PHP extension bindings for Apache Iggy.",
+    "type": "php-ext",
     "license": "Apache-2.0",
-    "type": "library",
+    "homepage": "https://iggy.apache.org",
+    "keywords": [
+        "apache",
+        "iggy",
+        "messaging",
+        "streaming",
+        "message-streaming",
+        "event-streaming",
+        "php-extension",
+        "rust-extension"
+    ],
+    "authors": [
+        {
+            "name": "Apache Iggy (Incubating) Contributors",
+            "homepage": "https://iggy.apache.org"
+        }
+    ],
+    "support": {
+        "chat": "https://discord.gg/apache-iggy",
+        "docs": "https://iggy.apache.org/docs/",
+        "issues": "https://github.com/apache/iggy/issues",
+        "source": "https://github.com/apache/iggy/tree/master/foreign/php"
+    },
     "require": {
         "php": ">=8.3"
     },
     "require-dev": {
         "phpunit/phpunit": "^10.5"
     },
+    "php-ext": {
+        "extension-name": "iggy_php",
+        "support-zts": false,
+        "support-nts": true,
+        "configure-options": [],
+        "download-url-method": [
+            "pre-packaged-binary",
+            "composer-default"
+        ]
+    },
     "scripts": {
         "test": "phpunit"
     }