[
https://issues.apache.org/jira/browse/AVRO-2752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17870161#comment-17870161
]
Martin Tzvetanov Grigorov commented on AVRO-2752:
-------------------------------------------------
Here is how it works to build the project -
[https://github.com/apache/avro/blob/main/lang/php/build.sh#L61-L67]
It uses `composer install -d "../.."`.
But [https://packagist.org/packages/submit] expects a url like
[https://github.com/apache/avro] and this is why the composer.json needs to be
in the root ... Now someone has to explain how does it find about lang/php/lib
...
> PHP: Setup as Composer package on Packagist.org
> -----------------------------------------------
>
> Key: AVRO-2752
> URL: https://issues.apache.org/jira/browse/AVRO-2752
> Project: Apache Avro
> Issue Type: Improvement
> Components: php
> Reporter: Ben Edmunds
> Assignee: Siad Ardroumli
> Priority: Major
> Fix For: 1.10.0
>
>
> Composer is the de facto package manager for PHP. Not having Avro available
> as a Composer package on Packagist.org means that this library is impossible
> to use as a direct dependency in most PHP projects.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)