Skip to content

Commit

Permalink
chore(docs): Modules
Browse files Browse the repository at this point in the history
  • Loading branch information
leocavalcante committed Dec 4, 2023
1 parent e2eff5b commit b6e51fe
Showing 1 changed file with 50 additions and 3 deletions.
53 changes: 50 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ cd ~/.phpctl
./phpctl install
```

### Usage
## Usage

Then you can use `phpctl` or `pctl` with a subcommand:
```shell
phpctl <command> [arguments]
```

#### Commands
### Commands

| Command | Description |
| --- | --- |
Expand All @@ -38,11 +38,58 @@ phpctl <command> [arguments]
| `server [port] [directory]` | Runs PHP's built-in web-server (default port is `80` and default directory is current `.`). |
| `sh [commands]` | Starts an interactive Shell session or runs `sh` commands. |
| `at [port] [command]` | Run commands within a bound port (default port is `80`). |
#### The `.phpctl` file

### The `.phpctl` file

You can also add a `.phpctl` file with some overrides like:

| Variable | Description |
| --- | --- |
| `PHP_VERSION` | Values can be `82` and `83` |
| `PHPCTL_IMAGE` | Use to name your own custom image |

## Modules
<details>
<summary>Expand</summary>
<code>
[PHP Modules]
Core
curl
date
dom
filter
hash
iconv
igbinary
json
libxml
mbstring
msgpack
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
random
readline
redis
Reflection
session
sockets
SPL
standard
swoole
tokenizer
xdebug
xml
xmlwriter
zend_test
zlib

[Zend Modules]
Xdebug
</code>
</details>

0 comments on commit b6e51fe

Please sign in to comment.