diff --git a/foreign/php/.gitattributes b/foreign/php/.gitattributes new file mode 100644 index 0000000000..2cb8f7c14c --- /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 d7175ac2c8..d711c646ae 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" }