Skip to content

Commit f36e527

Browse files
committed
Improve README
1 parent 943f79b commit f36e527

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Build a specific version of PHP, with the required architecture and thread safet
3434
- name: Build PHP
3535
uses: php/php-windows-builder/php@v1
3636
with:
37-
php-version: '8.4.1'
37+
php-version: '8.4.11'
3838
arch: x64
3939
ts: nts
4040
```
@@ -62,7 +62,7 @@ jobs:
6262
- name: Build
6363
uses: php/php-windows-builder/php@v1
6464
with:
65-
php-version: '8.4.1'
65+
php-version: '8.4.11'
6666
arch: ${{ matrix.arch }}
6767
ts: ${{ matrix.ts }}
6868
```
@@ -82,7 +82,7 @@ Build a specific version of a PHP extension.
8282
uses: php/php-windows-builder/extension@v1
8383
with:
8484
extension-url: https://github.com/xdebug/xdebug
85-
extension-ref: '3.3.2'
85+
extension-ref: '3.4.5'
8686
php-version: '8.3'
8787
ts: nts
8888
arch: x64
@@ -123,7 +123,7 @@ jobs:
123123
uses: php/php-windows-builder/extension-matrix@v1
124124
with:
125125
extension-url: https://github.com/xdebug/xdebug
126-
extension-ref: '3.3.2'
126+
extension-ref: '3.4.5'
127127
php-version-list: '8.2, 8.3'
128128
arch-list: 'x64, x86'
129129
ts-list: 'nts, ts'
@@ -260,12 +260,12 @@ Next, make sure you have the required Visual Studio version installed to build t
260260
If the required Visual Studio version is not installed, for the first time you try to build PHP, the module will try to install the required Visual Studio components automatically.
261261

262262
Then, you can build PHP by using the `Invoke-PhpBuild` command.
263-
- To build a specific version, use the `Version` input. It supports values in major.minor.patch format, e.g., 7.4.25, 8.0.12, etc., or `master` for the master branch of `php-src`.
264-
- To build a 32-bit or a 64-bit version, use the `Arch` input. It supports values `x64` and `x86`.
265-
- To build a thread-safe or non-thread-safe version, use the `Ts` input. It supports values `ts` and `nts`.
263+
- To build a specific version, you can use the `Version` input. It supports values in major.minor.patch format, e.g., 7.4.25, 8.0.12, etc., or `master` for the master branch of `php-src`.
264+
- To build a 32-bit or a 64-bit version, you can use the `Arch` input. It supports values `x64` and `x86`.
265+
- To build a thread-safe or non-thread-safe version, you can use the `Ts` input. It supports values `ts` and `nts`.
266266

267267
```powershell
268-
Invoke-PhpBuild -Version '8.4.1' -Arch x64 -Ts nts
268+
Invoke-PhpBuild -Version '8.4.11' -Arch x64 -Ts nts
269269
```
270270

271271
It should produce the PGO optimized builds for the input PHP version and configuration in a directory named `artifacts` in the current directory.
@@ -288,21 +288,21 @@ To install this module for the current user only:
288288
Install-Module -Name BuildPhpExtension -Repository PSGallery -Force -Scope CurrentUser
289289
```
290290

291-
Next, make sure you have the required Visual Studio version installed to build the PHP version you want. You can find the required Visual Studio version in the [PHP Version Support table](#php-version-support) above.
292-
If the required Visual Studio version is not installed, for the first time you try to build PHP, the module will try to install the required Visual Studio components automatically.
291+
Next, make sure you have the required Visual Studio version installed to build the PHP extension you want. You can find the required Visual Studio version in the [PHP Version Support table](#php-version-support) above based on the PHP version you are building the PHP extension for.
292+
If the required Visual Studio version is not installed, for the first time you try to build the PHP extension, the module will try to install the required Visual Studio components automatically.
293293

294294
Then, you can build the PHP extension by using the `Invoke-PhpBuildExtension` command.
295-
- To build a php extension, use the `ExtensionUrl` input. It supports a git repository URL as value.
296-
- To build a specific version of the extension, use the `ExtensionRef` input. It supports a git reference, e.g., a tag or a branch as value.
297-
- To build the extension for a specific PHP version, use the `PhpVersion` input. It supports values in major.minor format, e.g., 7.4, 8.0, etc.
298-
- To build the extension for a 32-bit or a 64-bit version, use the `Arch` input. It supports values `x64` and `x86`.
299-
- To build the extension for a thread-safe or non-thread-safe version, use the `Ts` input. It supports values `ts` and `nts`.
300-
- To specify the libraries required for the extension, use the `Libraries` input. It supports a comma-separated list of library names.
301-
- To specify additional arguments to pass to the `configure` script, use the `Args` input. It supports a string value.
295+
- To build a php extension, you can use the `ExtensionUrl` input. It supports a git repository URL as value.
296+
- To build a specific version of the extension, you can use the `ExtensionRef` input. It supports a git reference, e.g., a tag or a branch as value.
297+
- To build the extension for a specific PHP version, you can use the `PhpVersion` input. It supports values in major.minor format, e.g., 7.4, 8.0, etc.
298+
- To build the extension for a 32-bit or a 64-bit PHP version, you can use the `Arch` input. It supports values `x64` and `x86`.
299+
- To build the extension for a thread-safe or non-thread-safe PHP version, you can use the `Ts` input. It supports values `ts` and `nts`.
300+
- To specify the libraries required for the extension, you can use the `Libraries` input. It supports a comma-separated list of library names.
301+
- To specify additional arguments to pass to the `configure` script, you can use the `Args` input. It supports a string value.
302302

303303
```powershell
304304
Invoke-PhpBuildExtension -ExtensionUrl https://github.com/xdebug/xdebug `
305-
-ExtensionRef 3.3.2 `
305+
-ExtensionRef 3.4.5 `
306306
-PhpVersion 8.4 `
307307
-Arch x64 `
308308
-Ts nts `

0 commit comments

Comments
 (0)