mpyw
@mpyw
Interested in Go/Rust/TypeScript, previously PHP/Laravel
- Osaka, Japan
- github.com/mpyw
- Joined October 2026
Commit activity
5 commits in the last year
longest streak 2 days
261 / 400 XP139 XP to maintainer
Sun, Nov 8
Sat, Oct 17
One thing that often trips up developers switching from PHP to Go is how easily the package-level namespace gets crowded.
While both languages treat files in the same directory as sharing a namespace, PHP code rarely uses standalone functions—it packages almost everything as…
GitHubGitHub - mpyw/declscope: Keep Go packages flat without losing their internal boundaries: file-level private and package scopes for declarations, methods and struct fieldsKeep Go packages flat without losing their internal boundaries: file-level private and package scopes for declarations, methods and struct fields - mpyw/declscope
Fri, Oct 16
I’ve built a library that allows you to call PHP from Go without relying on cgo. It works anywhere a Go single binary can run. It’s called "Gophper"—how are you even supposed to pronounce that? 😂
It even runs Laravel! Over HTTPS, too! Plus, you can implement PHP extensions on…
GitHubGitHub - mpyw/gophper: Run PHP from Go with no cgo: the real php-src on WebAssembly, via wazero. A library, a CLI, an HTTP server and a FastCGI server, on Linux, macOS and Windows.Run PHP from Go with no cgo: the real php-src on WebAssembly, via wazero. A library, a CLI, an HTTP server and a FastCGI server, on Linux, macOS and Windows. - mpyw/gophper
I’ve ported Laravel’s
LazyCollection as a library for Go 1.27! Unlike samber/lo, it supports method chaining.
https://github.com/mpyw/collectGitHubGitHub - mpyw/collect: Lazy, chainable collections for Go, in the manner of Laravel's CollectionLazy, chainable collections for Go, in the manner of Laravel's Collection - mpyw/collect
That's @mpyw's root commit.