composer is ignoring installer-paths configuration

后端 未结 4 1791
梦谈多话
梦谈多话 2021-02-06 05:29

I\'m try using CakePHP for the first time with composer, but I have some problems.

I have this composer.json:

{
  \"name\": \"example.com.br         


        
4条回答
  •  没有蜡笔的小新
    2021-02-06 05:40

    From the documentation.

    You cannot use this to change the path of any package. This is only applicable to packages that require composer/installers and use a custom type that it handles.

    From one of the packages you're installing:

    {
        "name": "smottt/wideimage",
        "description": "An open-source PHP library for image manipulation. (With namespaces, PHP 5.3+)",
        "homepage": "http://wideimage.sourceforge.net",
        "type": "library",
        "license": ["GPL-2.0","LGPL-2.1"],
        "version": "11.02.19",
        "autoload": {
            "psr-0" : {
              "WideImage" : "lib/"
            }
        }
    }
    

    So basically the package you're trying to install doesn't support custom install paths.

提交回复
热议问题