Repository navigation
Add php workload based on the WinUI workload model - #162
Merged
Merged
Conversation
- Add src/windows-dev-config/workloads/php.ps1: engine-based workload (Developer Mode + PowerShell + Php package), modeled on winui.ps1. - Add Php entry (PHP.PHP.8.5) to the shared package catalog in steps/packages.ps1, after OhMyPosh and before winappCli. - Add src/Workloads/php/setup.ps1, the signed one-line entry point (copy of winui/setup.ps1 with -Workload php). - Add a php row to the Single workloads table in windows-dev-config/README.md. - Retire the legacy winget-configure flow for php: delete configuration.winget and install.ps1, update manifest.yml (install points at setup.ps1, configuration key removed, manual_test: true because the engine entry point needs a signed release cycle and elevation), drop the content hash entry, and update docs/development.md. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
PHP has no app-packaging/sideloading story, so AllowDevelopmentWithoutDevLicense isn't needed (unlike winui, which sideloads MSIX/WinAppSDK packages). Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This was referenced Oct 8, 2026
AmirMS (AmelBawa-msft)
approved these changes
Oct 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an engine-based
phpworkload to the PowerShell-native dev-config engine, modeled exactly onwinui, and retires the legacy winget-configure (DSC) flow forphp.Changes
src/windows-dev-config/workloads/php.ps1: Developer Mode + PowerShell + thePhppackage, using the same phase shape aswinui.ps1(trimmed — no Visual Studio/templates phases needed for PHP).Phpentry (PHP.PHP.8.5,UninstallOrder = 18) tosteps/packages.ps1, inserted right afterOhMyPoshand beforewinappCli.src/Workloads/php/setup.ps1: copy ofWorkloads/winui/setup.ps1with-Workload php(same signature-verification logic, unmodified).phprow to the "Single workloads" table inwindows-dev-config/README.md.php:Workloads/php/configuration.wingetandWorkloads/php/install.ps1.manifest.yml:installnow points atsetup.ps1, theconfigurationkey is removed, andmanual_test: trueis set — the engine entry point needs a signed release cycle and elevation, which the automated CI matrix can't provide (same reasoning aswinui/dotnet).'php\configuration.winget'entry fromWorkloads/_common/content-hashes.ps1.docs/development.md(repo-layout listing, the flows status table, and a stale static-check example referencing the deletedconfiguration.winget).Validation
Get-DevConfigWorkloadschema-validatedphp.ps1(phases/functions/parameters all pass, same mechanism used forwinui/winforms).Assert-DevConfigWorkloadContent -WorkloadsRoot (Resolve-Path .\Workloads)reports no[missing]/[not declared]content-hash errors.manifest.ymland confirmed thephpflow entry now has the same shape asdotnet/winui(noconfigurationkey,install→setup.ps1,manual_test: true).Note: sibling PRs are adding
go/rustworkloads in parallel, touching the samepackages.ps1/manifest.ymlfiles — some merge conflicts across the 3 PRs are expected and left for the repo owner to resolve.Co-authored-by: Copilot App 223556219+Copilot@users.noreply.github.com