php/cmd/core-php/main.go
Snider dc064cbb61
Some checks failed
CI / PHP 8.4 (push) Failing after 1m51s
CI / PHP 8.3 (push) Failing after 1m58s
feat: promote PHP commands to root in core-php binary
AddPHPRootCommands registers commands directly on root so
the standalone binary uses `core-php dev` not `core-php php dev`.
AddPHPCommands remains for use inside the `core` CLI.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 18:47:55 +00:00

15 lines
301 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/php"
"forge.lthn.ai/core/cli/pkg/cli"
)
func main() {
cli.Main(
cli.WithCommands("php", php.AddPHPRootCommands),
)
}