GithubHelp home page GithubHelp logo

Global composer config about php7cc HOT 3 OPEN

andig avatar andig commented on July 30, 2024
Global composer config

from php7cc.

Comments (3)

sstalle avatar sstalle commented on July 30, 2024

I changed it from $HOME/.composer to $HOME/.config/composer some time ago (see #103 ). I think the latter is used by default on new Ubuntu versions. Some of the other possible options are decribed in the Composer documentation, to which there is a link from README.md.

I'm not sure what can be done to make the fact this directory is OS-dependent more explicit. Listing the available options by copying and pasting part of the Composer documentation doesn't seem like a good idea to me. Do you have any suggestions on how to make it work better?

from php7cc.

andig avatar andig commented on July 30, 2024

Do you have any suggestions on how to make it work better?

Not really as I don't have exposure to a broad level of distros. Only adding both pathes could make it copy/paste?

It just seems that the general statement of #103 is wrong. Its only a minor thing though.

from php7cc.

sstalle avatar sstalle commented on July 30, 2024

It just seems that the general statement of #103 is wrong.

It definitely does not apply to every OS/distro out there. I just thought that adding $HOME/.config/composer/vendor/bin and a link to the Composer doc that lists other possible alternatives would be enough. But maybe you are right and I should add all the cases that we are currently aware of to the installation guide. That would probably make a better user experience. It just feels somewhat wrong to repeat the things that are already explained pretty good elsewhere.

Thanks for bringing it up anyway, I'll think about ways of making the install guide more clear.

from php7cc.

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.