Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shivammathur/php-builder-windows
Build PHP 8.0 and above nightly snaps for Windows.
https://github.com/shivammathur/php-builder-windows
php php-8 php-81 php-builder php-master powershell windows
Last synced: about 1 month ago
JSON representation
Build PHP 8.0 and above nightly snaps for Windows.
- Host: GitHub
- URL: https://github.com/shivammathur/php-builder-windows
- Owner: shivammathur
- License: mit
- Created: 2020-07-24T05:51:47.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-25T20:42:35.000Z (about 2 months ago)
- Last Synced: 2024-12-07T11:12:27.451Z (about 2 months ago)
- Topics: php, php-8, php-81, php-builder, php-master, powershell, windows
- Language: PowerShell
- Homepage: https://github.com/shivammathur/php-builder-windows
- Size: 61.5 KB
- Stars: 47
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP Builder for Windows
> Build PHP snapshots for Windows.
## Builds
The following configurations are built nightly.
- `nts-x64`, `nts-x64-AVX`, `ts-x64`, `nts-x86`, `ts-x86`.
- `debug-pack`, `devel=pack` for each configuration.
- `test pack` for the version.### PHP 8.5.0-dev/master
[https://github.com/shivammathur/php-builder-windows/releases/tag/php8.5](https://github.com/shivammathur/php-builder-windows/releases/tag/php8.5)### PHP 8.4.x-dev
[https://github.com/shivammathur/php-builder-windows/releases/tag/php8.4](https://github.com/shivammathur/php-builder-windows/releases/tag/php8.4)### PHP 8.3.x-dev
[https://github.com/shivammathur/php-builder-windows/releases/tag/php8.3](https://github.com/shivammathur/php-builder-windows/releases/tag/php8.3)### PHP 8.2.x-dev
[https://github.com/shivammathur/php-builder-windows/releases/tag/php8.2](https://github.com/shivammathur/php-builder-windows/releases/tag/php8.2)### PHP 8.1.x-dev
[https://github.com/shivammathur/php-builder-windows/releases/tag/php8.1](https://github.com/shivammathur/php-builder-windows/releases/tag/php8.1)### PHP 8.0.x-dev
[https://github.com/shivammathur/php-builder-windows/releases/tag/php8.0](https://github.com/shivammathur/php-builder-windows/releases/tag/php8.0)## Install
To install a PHP snapshot, open an elevated PowerShell session and run these commands. You can change the configure variables as per your requirements.
```ps1
# Configure
$php_dir = 'C:\tools\php' # Set this as per your setup
$arch = 'x64' # Set x64 or x86
$ts = $False # Set $False for nts or $True for ts
$version = '8.4' # Set 8.0, 8.1, 8.2, 8.3, 8.4, or 8.5# Install
New-Item -Path $php_dir -Type Directory -Force
Invoke-WebRequest -UseBasicParsing -Uri https://github.com/shivammathur/php-builder-windows/releases/latest/download/Get-Php.ps1 -OutFile $php_dir\Get-Php.ps1
. $php_dir\Get-Php.ps1 -Architecture $arch -ThreadSafe $ts -Path $php_dir -Version $version# Test
. $php_dir\php -v
```## License
The code in this project is licensed under the [MIT license](http://choosealicense.com/licenses/mit/).
Please see the [license file](LICENSE) for more information. This project has multiple [dependencies](#dependencies "Dependencies for this project"). Their licenses can be found in their respective repositories.## Dependencies
- [php/php-src](https://github.com/php/php-src)
- [php/web-rmtools](https://github.com/php/web-rmtools)
- [php/php-sdk-binary-tools](https://github.com/php/php-sdk-binary-tools)
- [Oracle instantclient](https://www.oracle.com/downloads/licenses/instant-client-lic.html)