English |Tiếng Trung
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 withLaravel,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 documentationhttps:// goravel.dev
Examplehttps://github /goravel/example
To optimize the documentation, please submit a PR to the documentation repositoryhttps://github /goravel/docs
This project exists thanks to all the people who contribute, to participate in the contribution, please seeContribution Guide.
Better development of the project is inseparable from your support, reward us byOpen Collective.
Welcome more discussion in Telegram.
The Goravel framework is open-sourced software licensed under theMIT license.