mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-02 22:35:43 +08:00
2.5 KiB
2.5 KiB
v3 TODO List
Tracking items identified during the v2 → v3 migration audit.
Commands
- Implement
craftcommand (drives full build fromcraft.yml; should be easier with v3 vendor/registry mode) - Migrate
micro:combinecommand (combinemicro.sfxwith PHP code + INI injection) - Implement
dump-extensionscommand (extract required extensions fromcomposer.json/composer.lock) - Design and implement v3 dev toolchain commands (WIP — needs design decision):
dev:extensions/ equivalent listing commanddev:php-version,dev:ext-version,dev:lib-version- Doc generation commands (
dev:gen-ext-docs,dev:gen-ext-dep-docs,dev:gen-lib-dep-docs) — pending v3 doc design
Source Patches (SourcePatcher → Artifact migration)
The following v2 SourcePatcher hooks are not yet migrated to v3 src/Package/Artifact/ classes:
- Migrate
patchSQLSRVWin32— removes/sdlcompile flag to prevent Zend build failure on Windows - Migrate
patchSQLSRVPhp85— fixespdo_sqlsrvdirectory layout for PHP 8.5 - Migrate
patchYamlWin32— patchesconfig.w32_a.libdetection logic for theyamlextension - Migrate
patchImagickWith84— applies PHP 8.4 compatibility patch forimagickbased on version detection
Extension Package Classes (Unix)
Extensions that had non-trivial v2 build logic and are missing a v3 src/Package/Extension/ class:
gettext— macOS: fixconfig.m4bracket syntax for cross-version compatibility + append frameworks to linker flags (critical for macOS linking; this is a Unix-side gap, not Windows-only)
Windows Extensions (Early Stage)
Windows extension support is still in early stage. The following extensions had Windows-specific configure args or patches in v2 and are pending v3 Windows implementation:
amqp— Windows configure argscom_dotnet— Windows-only extensiondom— removedllmain.cfromconfig.w32ev— fixPHP_EV_SHAREDinconfig.w32gmssl— addCHECK_LIB("gmssl.lib")toconfig.w32intl— fixPHP_INTL_SHAREDinconfig.w32lz4— Windows configure argsmbregex— Windows configure argssqlsrv/pdo_sqlsrv— complex conditional build logic (independentsqlsrvwithoutpdo_sqlsrv)xml— removedllmain.cfromconfig.w32; handlessoap,xmlreader,xmlwriter,simplexml
Documentation
- Write v3 user documentation (currently zero v3 docs)