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>
15 lines
301 B
Go
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),
|
|
)
|
|
}
|