File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -42,9 +42,17 @@ pvm install 8.2
42
42
43
43
Will install PHP 8.2 at the latest patch.
44
44
45
- ## Build
45
+ ## Composer support
46
+ ` pvm ` now installs also composer with each php version installed.
47
+ It will install Composer latest stable release for PHP >= 7.2 and Composer latest 2.2.x LTS for PHP < 7.2.
48
+ You'll be able to invoke composer from terminal as it is intended:
49
+ ``` shell
50
+ composer --version
51
+ ```
52
+
53
+ ## Build this project
46
54
47
- To compile the program use:
55
+ To compile this project use:
48
56
``` shell
49
57
GOOS=windows GOARCH=amd64 go build -o pvm.exe
50
58
```
Original file line number Diff line number Diff line change @@ -26,6 +26,6 @@ func ListRemote() {
26
26
if idx != - 1 {
27
27
found = "*"
28
28
}
29
- color .White (found + " v " + version .StringShort ())
29
+ color .White (found + " " + version .StringShort ())
30
30
}
31
31
}
Original file line number Diff line number Diff line change @@ -16,6 +16,6 @@ func List() {
16
16
theme .Title ("Installed PHP versions" )
17
17
// print all folders
18
18
for _ , version := range versions {
19
- color .White (" v " + version .StringShort ())
19
+ color .White (" " + version .StringShort ())
20
20
}
21
21
}
You can’t perform that action at this time.
0 commit comments