syyongx/php2go
Use Golang to implement PHP's common built-in functions. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3072
- days_rel: n/a
- days_push: 693
- n_releases_24m: 0
Adoption not part of the score
1642 stars · 304 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Go library that reimplements over 140 of PHP's common built-in functions (string, array, date/time, math, filesystem, URL, and more) in pure Go. It helps developers porting PHP code to Go or PHP developers seeking familiar function names.
Use cases
- port php code to go
- use php string functions in golang
- php array functions equivalent in go
- migrate php project to golang
- php strtotime in go
- familiar php helpers for go developers
When to choose
- you are translating PHP codebases to Go and want drop-in equivalents for built-in functions
- you want a small dependency-free MIT-licensed helper library with familiar PHP naming
When to avoid
- you are writing idiomatic Go from scratch and prefer native standard library idioms
- you need full PHP semantics or the latest PHP functions beyond the ~140 implemented
Facets
library · maturity maintenance
developer-tools file-system date-time serialization json developer-tools programming-languages cross-platform go cross-platform php go porting standard-library string-functions array-functions
1 source
- readme: https://github.com/syyongx/php2go · fetched 2026-08-28 · b255bc335267
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| syyongx/php2go | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem