How laravel/go-framework works
Laravel for Go is a full-stack Go web framework. Its main request path begins with application routes and HTTP handling, then branches into validation, authentication, and rendered responses. The framework also provides persistence, sessions, caching, filesystems, search, background jobs, durable workflows, and real-time broadcasting. The graph retains these documented product capabilities and key internal layers. Relationship evidence is limited to README statements and the supplied source excerpts and index; links without direct evidence are omitted.
Main entry points: db/query.go Database queries · router.go Routing · web.go HTTP handling · search/query.go Search queries
Components 20
HTTP and identity
- Routing
routing/router.go - HTTP handling
web/web.go - Validation
validation/validation.go - Authentication
auth/auth.go - Inertia pages
inertia/page.go
Data and state
- Model ORM
model/query.go - Database queries
db/query.go - Schema migrations
db/migrate.go - Sessions
session/session.go - Cache
cache/database.go - File storage
storage/storage.go - Search queries
search/query.go
Jobs and workflows
- Job processing
queue/worker.go - Durable workflows
workflow/database.go
External integrations
- Search engines
search/engine.go - Meilisearch
search/meilisearch/meilisearch.go - Broadcasting
broadcast/broadcast.go - Realtime server
internal/reverb/app.go - Outgoing HTTP
httpclient/client.go
Other components
- HTTP client
Connections 17
- HTTP client → Routing: sends requests
README.md - Routing → HTTP handling: routes handlers
routing/router.go - Routing → Inertia pages: registers pages
routing/router.go - Model ORM → Database queries: queries through
model/query.go - Search queries → Database queries: loads models
search/query.go - Search queries → Search engines: searches with
search/query.go - Meilisearch → Search engines: implements engine
search/meilisearch/meilisearch.go - Sessions → Database queries: stores sessions
- Cache → Database queries: uses queries
cache/database.go - Durable workflows → Database queries: persists runs
workflow/database.go - Job processing → Database queries: uses queries
queue/worker.go - Job processing → Cache: tracks errors
queue/worker.go - HTTP handling → Validation: validates input
- HTTP handling → Authentication: checks identity
- Routing → Broadcasting: routes channels
- Broadcasting → Realtime server: serves realtime
- File storage → HTTP client: serves files