V
V
Valery2013-09-12 20:42:57
PHP
Valery, 2013-09-12 20:42:57

What does the -dev prefix mean in the composer version number of a package?

Good evening,

Many composer dependencies specify the dev-master version. Does that just mean the master branch?
What does 2.3-dev mean and how is it different from just 2.3?

Or, where can I read about it? I can’t find a sane explanation in any way, I’m tired of specifying versions of dependencies and not understanding what they mean.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
truekenny, 2013-09-12
@Akuma

The -dev version contains the header and other files required by the programmer if he wants to extend it himself.
Source

N
nuclear, 2013-09-12
@nuclear

dev-* means branch. dev-master - master, dev-bugfix - bugfix branch.
2.3 most likely means a tag in git'e or just an alias of some branch.
Source

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question