Skip to content

Commit

Permalink
[fix] Add new list feature to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
BrainBuzzer committed Jan 28, 2023
1 parent 4555bc5 commit c627a91
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions README.md
Expand Up @@ -13,33 +13,35 @@ Download the latest release by heading over to our [releases](https://github.com

## Usage

### Listing installed PHP versions

To list all the installed PHP versions, simply run the following command:

```sh
php-ch list
```

### Switching PHP versions

To switch to a different version of PHP, simply run the following command:

```cmd
```sh
php-ch set [version]
```

Currently supported PHP versions are:
7.4
8.0
8.1
8.2

### Editing php.ini file

You can edit the php.ini file for the current PHP version by running the following command:

```cmd
```sh
php-ch ini
```

### Editing php.ini file for a specific PHP version

You can edit the php.ini file for a specific PHP version by running the following command:

```cmd
```sh
php-ch ini [version]
```

Expand Down

0 comments on commit c627a91

Please sign in to comment.