From bedd639a27c51c9f5523f045f9cfeb5fc8070386 Mon Sep 17 00:00:00 2001 From: Chance Date: Thu, 11 Apr 2024 10:29:52 +0800 Subject: [PATCH] Update README.md --- README.md | 6 +++--- metadata.lua | 8 ++------ 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index b96b923..ed002ec 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # vfox-php + [PHP](https://www.php.net/) plugin for [vfox](https://vfox.lhan.me/). ## Usage @@ -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 @@ -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. - diff --git a/metadata.lua b/metadata.lua index 7d3cd8c..7ce8014 100644 --- a/metadata.lua +++ b/metadata.lua @@ -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" }