PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, January 29, 2022

[FIXED] PHP: How do I get the milestone version of composer?

 January 29, 2022     composer-php, php     No comments   

Issue

I need to get the milestone version of composer, i.e. alpha7 or alpha8. But the --version flag only provides the git commit:

# composer --version
Composer version a8adbfeb9fc7861deade782938222714168a22a8 2014-09-05 16:28:50

Is this possible?


Solution

You could specify version while install

curl -sS https://getcomposer.org/installer | php -- --install-dir=bin --version=1.0.0-alpha8
./composer.phar --version

Or you could install source of composer.

https://github.com/composer/composer#installation-from-source


Answered By - sectus
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing