Commit graph

5 commits

Author SHA1 Message Date
Snider
05d2480f5e fix: restore init() for command self-registration
Some checks failed
Security Scan / security (push) Successful in 7s
Test / test (push) Failing after 1m30s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-04 17:40:04 +00:00
Snider
39edb7f289 fix: unify FrankenPHP commands into single php group
Some checks failed
Security Scan / security (push) Successful in 8s
Test / test (push) Failing after 1m29s
- Remove init() + findOrCreatePHPCmd from cmd_serve_frankenphp.go
- Use registerFrankenPHP hook pattern for CGO-conditional registration
- Rename env.go Environment → RuntimeEnvironment to avoid collision
- Add cgo build tag to handler.go and env.go

CGO build (21MB): all dev commands + serve:embedded + exec
Non-CGO build (16MB): dev commands only (shell out to system PHP)

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-04 17:31:03 +00:00
Snider
7d188ae056 fix: use go-i18n root package, add to go.mod
Some checks failed
Security Scan / security (push) Successful in 7s
Test / test (push) Has been cancelled
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-04 17:25:20 +00:00
Snider
84ce94b713 feat: add core-php binary, fix imports to use core/cli
Some checks failed
Security Scan / security (push) Successful in 9s
Test / test (push) Failing after 25s
- Create cmd/core-php/main.go standalone binary entry point
- Add FrankenPHP serve:embedded and exec commands (CGO build-tagged)
- Replace all cobra imports with core/cli re-exports
- Replace core/go/pkg/cli with core/cli/pkg/cli
- Replace core/go/pkg/i18n with core/go-i18n/pkg/i18n
- Add core/go and core/go-i18n as go.mod dependencies

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-04 17:22:10 +00:00
Snider
d2081d91e7 feat: merge core/php CLI commands into go-php
Some checks failed
Security Scan / security (push) Successful in 8s
Test / test (push) Failing after 26s
Combines FrankenPHP handler package with PHP dev CLI commands
(build, deploy, QA, dev server, etc) from core/php. This frees
the core/php namespace for the Laravel PHP framework rename.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-04 17:12:52 +00:00