English | 中文
Goravel is a web application framework with complete functions and good scalability. As a starting scaffolding to help Gophers quickly build their own applications.
The framework style is consistent with Laravel, so that Php developers don't need to learn a new framework, and get to play around Golang! A tribute to Laravel!
Welcome to star, PR and issues!
// Generate APP_KEY
go run . artisan key:generate
// Route
facades.Route().Get("/", userController.Show)
// ORM
facades.Orm().Query().With("Author").First(&user)
// Task Scheduling
facades.Schedule().Command("send:emails name").EveryMinute()
// Log
facades.Log().Debug(message)
// Cache
value := facades.Cache().Get("goravel", "default")
// Queues
err := facades.Queue().Job(&jobs.Test{}, []queue.Arg{}).Dispatch()
Online documentation https://www.goravel.dev
Example https://github.com/goravel/example
To optimize the documentation, please submit a PR to the documentation repository https://github.com/goravel/docs
This project exists thanks to all the people who contribute, to participate in the contribution, please see Contribution Guide.
Better development of the project is inseparable from your support, reward us by Open Collective.
Welcome more discussion in Telegram.
The Goravel framework is open-sourced software licensed under the MIT license.