Laravel Go: how a full-stack framework sits on net/http

8 steps · about 4 h 45 min · Intermediate

  1. A Tour of Go (interactive, go.dev, 2 h)

    Laravel Go is idiomatic Go, so you need the basics (structs, interfaces, goroutines) before anything else.

  2. Writing Web Applications (tutorial, go.dev, 45 min)

    The official walkthrough builds a small web app with net/http and templates, with no framework involved.

  3. net/http and Middleware in Go (article, aikos.cc, 25 min)

    Shows that middleware is just func(http.Handler) http.Handler, the core pattern every Go framework wraps.

  4. Request Lifecycle (doc, Laravel docs, 15 min)

    Learn the original PHP request path (kernel, providers, router, middleware) so you can see what the Go version re-creates.

  5. Service Container (doc, Laravel docs, 25 min)

    The container is the idea Laravel is built around, and the one that translates least directly into Go.

  6. Introducing Laravel Go (article, Laravel, 15 min)

    The official beta announcement covers the design: net/http handlers, goroutine tasks, queues and workflows.

  7. A hands-on guide to Laravel Go (article, Sulat, 20 min)

    An independent hands-on test of the beta, including its limits and unpublished benchmarks.

  8. Goravel - Familiar structure. Native Go. (doc, Goravel, 20 min)

    A community Laravel-style Go framework you can compare with the official one to see different design trade-offs.