hn.today

Laravel Go

laravel.com6 points0 comments
Screenshot of Laravel Go

Laravel Go is the first beta of a full-stack web framework that brings Laravel’s conventions and productivity to Go while using idiomatic Go rather than reproducing PHP or Rust syntax. It aims to fill a gap in Go’s ecosystem with a batteries-included framework for ambitious web applications, and is designed for a future in which coding agents produce more software: new projects include agent guidance, while strong structure and compile-time checks help prevent mistakes. The framework is built directly on Go’s standard net/http package and goroutines, pairing high throughput with fast compilation and familiar tools. Requests and dependencies use explicit context and startup wiring rather than a hidden dynamic container, and existing Go handlers and middleware can be integrated.

The framework includes routing, middleware, authentication, typed request validation, database models and relationships, migrations, queues, mail, testing tools, and more. Struct-based models and generic query builders provide typed results; relationships are loaded explicitly to avoid surprise queries and N+1 problems. Background tasks can run concurrently, while durable workflows can pause for days and resume after restarts without occupying workers. It also supports real-time broadcasting through an included Go WebSocket server, and Inertia with React, Vue, or Svelte, alongside compiled server-rendered views. Additional production features include multiple queue backends, email transports, tracing, scheduling, and file storage. Overall, Laravel Go balances compiled-language performance with simple syntax and a comprehensive set of conventions for building web applications.

Read on laravel.com0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Show HN: Rust Commander

Show HN: Rust Commander

Rust Commander is a Rust terminal file manager modeled on Midnight Commander, with dual-pane navigation, a persistent shell, archive and remote browsing, and background file operations. Version 0.3.1 adds file-change alerts, viewer copy controls, customizable skins, and faster SFTP previews and copying. (github.com)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.