-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[DX] Using composer ...
or php composer.phar ...
#4170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
As you tagged the issue as I'm strongly in favor of the Composer global installation and thus, |
For reference, see composer/composer#3125 about documenting the global installation first in the composer doc |
👍 for installing Composer globally. |
What do you think about giving a huge push to global Composer installation by submitting issues or pull requests for the documentation of all major frameworks? |
👍 for this suggestion. |
Following up on composer/composer#3125, the PR at composer/composer#3130 would make it so that the current composer installation method adds a global So I'm +1 for this as well, but contingent on seeing either the PR merged, or at least https://getcomposer.org/download/ showing instructions on how to do the global install. If we had this, then I think it's an easy sell to go around to all the libs and change |
👍 for installing Composer globally in instructions for Symfony, third-party bundles and major frameworks |
👍 for installing Composer globally in Symfony instructions. |
i think in terms of practical terms, is better to move a phar to the PATH and rename it rather than install tools on a composer --global install. So if it is globally in the sense of global i am 👎 but if it is phar renamed to user PATH then 👍 |
@cordoval This issue is about where to install Composer not about how and where to install packages with Composer. |
FWIW I'm all for pushing for global installs too. I'll take a look at the above linked issues. That said, in composer docs I tend to use |
👍 global install looks like the best solution to me |
How do we handle this now? |
This PR was merged into the 2.3 branch. Discussion ---------- use a global Composer installation | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | #4170 This pull request replaces all mentions of local Composer installations, but uses a gobal Composer installation instead. **Note:** This should be considered on hold and not be merged until we have an agreement on this in #4170. Commits ------- 9ab1c56 use a global Composer installation
The official download page uses the
composer ...
command, while the docs are usingphp composer.phar ...
.If you follow the complete installation instructions in the Composer docs, you end up with
composer
on Windows and Unix. If you simply download the phar in your project, you end up usingphp composer.phar
.What should we use?
@Seldaek maybe you have an opinion about this?
The text was updated successfully, but these errors were encountered: