This repository has been archived on 2026-03-06. You can view files and clone it, but cannot push or open issues or pull requests.
go-php/cmd/core-php/main.go
Snider 84ce94b713
Some checks failed
Security Scan / security (push) Successful in 9s
Test / test (push) Failing after 25s
feat: add core-php binary, fix imports to use core/cli
- 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

15 lines
300 B
Go

// Package main provides the core-php binary — a standalone PHP/Laravel
// development tool with FrankenPHP embedding support.
package main
import (
php "forge.lthn.ai/core/go-php"
"forge.lthn.ai/core/cli/pkg/cli"
)
func main() {
cli.Main(
cli.WithCommands("php", php.AddPHPCommands),
)
}