Skip to content

Commit 9f0c6fc

Browse files
committed
minor fixes
1 parent b466173 commit 9f0c6fc

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,17 @@ pvm install 8.2
4242
4343
Will install PHP 8.2 at the latest patch.
4444

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
4654

47-
To compile the program use:
55+
To compile this project use:
4856
```shell
4957
GOOS=windows GOARCH=amd64 go build -o pvm.exe
5058
```

commands/list-remote.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ func ListRemote() {
2626
if idx != -1 {
2727
found = "*"
2828
}
29-
color.White(found + " v" + version.StringShort())
29+
color.White(found + " " + version.StringShort())
3030
}
3131
}

commands/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ func List() {
1616
theme.Title("Installed PHP versions")
1717
// print all folders
1818
for _, version := range versions {
19-
color.White(" v" + version.StringShort())
19+
color.White(" " + version.StringShort())
2020
}
2121
}

0 commit comments

Comments
 (0)