pkgx icon indicating copy to clipboard operation
pkgx copied to clipboard

Support for PHP composer.json

Open AlexOstrovsky opened this issue 1 year ago • 3 comments

Currently, the project supports the javascript package.json, it would be highly beneficial to extend this functionality to include support for PHP composer.json https://getcomposer.org. Composer file contains PHP version and also extensions that can be installed via e.g. pecl.

AlexOstrovsky avatar Nov 04 '23 07:11 AlexOstrovsky

If you dump an example here I'll whip it up today

mxcl avatar Nov 04 '23 12:11 mxcl

Sure @mxcl here is en example composer.json:

{
    "license": "proprietary",
    "type": "project",
    "require": {
        "php": "^8.2",
        "ext-rdkafka": "*",
        "ext-mongodb": "^1.5",
        "ext-amqp": "^1.9.3|^2.0.0"
    }
}

AlexOstrovsky avatar Nov 04 '23 13:11 AlexOstrovsky

@mxcl any update on this?

AlexOstrovsky avatar Nov 16 '23 10:11 AlexOstrovsky