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>
16 lines
283 B
Go
16 lines
283 B
Go
// Package php provides PHP/Laravel development tools.
|
|
package php
|
|
|
|
import (
|
|
"embed"
|
|
|
|
"forge.lthn.ai/core/go/pkg/i18n"
|
|
)
|
|
|
|
//go:embed locales/*.json
|
|
var localeFS embed.FS
|
|
|
|
func init() {
|
|
// Register PHP translations with the i18n system
|
|
i18n.RegisterLocales(localeFS, "locales")
|
|
}
|