-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b3152fd
commit f28f0f4
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,40 @@ | ||
# PVM - PHP version manager | ||
![author](https://img.shields.io/badge/v1.0.0-white?label=PVM&labelColor=%2325c2a0&color=white) ![Stars](https://img.shields.io/github/stars/unreadcode/pvm.svg) ![Issues](https://img.shields.io/github/issues/unreadcode/pvm.svg) | ||
|
||
## Commands | ||
|
||
### list | ||
|
||
```shell | ||
pvm list # show all installed php version | ||
pvm list -a # show ali available php version | ||
pvm ls # list short name | ||
``` | ||
|
||
### install | ||
|
||
```shell | ||
pvm install <version> # install php version | ||
pvm install 8.0 # install php v8.0 | ||
pvm i 8.0 # install short name | ||
``` | ||
|
||
### use | ||
|
||
```shell | ||
pvm use <versioin> # switch php version | ||
pvm use 8.0 # switch to php v8.0 | ||
``` | ||
|
||
### uninstall | ||
|
||
```shell | ||
pvm uninstall <versoin> # uninstall php version | ||
pvm uninstall 8.0 # uninstall php v8.0 | ||
pvm uni 8.0 # uninstall short name | ||
``` | ||
|
||
## LICENSE | ||
[MIT](https://opensource.org/licenses/MIT) | ||
|
||
Copyright (c) 2024, UnreadCode |