Code Monkey home page Code Monkey logo

Comments (6)

shama avatar shama commented on June 2, 2024

I believe that is what the vendor-dir config option is for: https://getcomposer.org/doc/04-schema.md#config

from installers.

Mihailoff avatar Mihailoff commented on June 2, 2024

vendor-dir doesn't help at all, installer (v1.0.15) places files in root

from installers.

shama avatar shama commented on June 2, 2024

@Mihailoff Could you post the composer.json you're trying?

from installers.

Mihailoff avatar Mihailoff commented on June 2, 2024
{
    "repositories": [
        { "type": "git", "url": "https://github.com/Mihailoff/installer-test.git" }
    ],
    "require": {
        "mihailoff/installer-test": "0.1.0"
    },
    "config": {
        "vendor-dir": "custom"
    }
}

from installers.

shama avatar shama commented on June 2, 2024

Ah you're right @Mihailoff. I created an issue for it here: #164 Patches welcome! Thanks!

from installers.

Mihailoff avatar Mihailoff commented on June 2, 2024

Great! BTW #146 won't solve the initial topic issue. My use case require custom installation path for packages with installer type only. It is again related with location of main framework. It's not important where the vendors directory located. Right now the only way is to repeat in installer-paths all needed types with some prefix.

I really like this idea

{
    "extra": {
        "installer-paths-prefix": {
          "framework-folder": ["framework:wordpress"]
        }
    }
}

so that wordpress-* types would be automatically install in that path.

from installers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.