Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Chance-fyi committed Apr 11, 2024
1 parent 633e5b8 commit bedd639
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# vfox-php

[PHP](https://www.php.net/) plugin for [vfox](https://vfox.lhan.me/).

## Usage
Expand All @@ -9,13 +10,13 @@ vfox add php

# install an available version
vofx search php
# or specific version
# or specific version
vfox install php@8.3.3
```


## Prerequirements

PHP installation requires some dependencies. Please install the dependencies based on the error messages, or refer to [.github/workflows/test-\*.yaml](https://github.com/version-fox/vfox-php/tree/main/.github/workflows) for guidance.

### macOS

Expand All @@ -32,4 +33,3 @@ brew install gmp libsodium imagemagick
```

Note that the supported extension are not exhaustive, so you may need edit the [bin/install](./bin/install) script to support additional extension. Feel free to submit a PR for any missing extensions.

8 changes: 2 additions & 6 deletions metadata.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,7 @@ NOTE:
PLUGIN.manifestUrl = "https://github.com/version-fox/vfox-php/releases/download/manifest/manifest.json"
-- Some things that need user to be attention!
PLUGIN.notes = {
"For macOS user:",
"You'll need a set of packages installed via homebrew:",
"",
"brew install autoconf automake bison freetype gd gettext icu4c krb5 libedit libiconv libjpeg libpng libxml2 libzip pkg-config re2c zlib",
"",
"There's also a set of optional packages which enable additional extensions to be enabled.",
"For macOS and Linux user:",
"PHP installation requires some dependencies.",
"For more detailed, please refer to https://github.com/version-fox/vfox-php/blob/main/README.md"
}

0 comments on commit bedd639

Please sign in to comment.