fix: add cgo build tags to FrankenPHP files, add .gitignore
Some checks failed
Security Scan / security (push) Successful in 8s
Test / test (push) Failing after 1m30s

Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
Snider 2026-03-04 17:27:43 +00:00
parent e546fa438e
commit e894e4b5bc
3 changed files with 5 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
bin/

2
env.go
View file

@ -1,3 +1,5 @@
//go:build cgo
package php
import (

View file

@ -1,3 +1,5 @@
//go:build cgo
// Package php provides FrankenPHP embedding for Go applications.
// Serves a Laravel application via the FrankenPHP runtime, with support
// for Octane worker mode (in-memory, sub-ms responses) and standard mode