mirror of
https://github.com/goravel/goravel.git
synced 2024-05-03 11:54:50 +08:00
A Golang framework for web artisans. Tribute to Laravel.
app | ||
bootstrap | ||
config | ||
database/migrations | ||
public | ||
routes | ||
storage | ||
.air.toml | ||
.env.example | ||
.gitignore | ||
docker-compose.yml | ||
Dockerfile | ||
go.mod | ||
LICENSE | ||
main.go | ||
README_zh.md | ||
README.md |
English | 中文
About Goravel
Goravel is a web application framework with complete functions and good scalability. As a starting scaffolding to help Gopher quickly build their own applications.
The framework style is consistent with Laravel, let Phper don't need to learn a new framework, but also happy to play around Golang! Tribute Laravel!
Welcome to star, PR and issues!
Getting started
// 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()
Documentation
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
Main Function
- Config
- Http
- Authentication
- Authorization
- Orm
- Migrate
- Logger
- Cache
- Grpc
- Artisan Console
- Task Scheduling
- Queue
- Event
- FileStorage
- Validation
- Mock
- Hash
- Crypt
Roadmap
Contributors
This project exists thanks to all the people who contribute.
Group
Welcome more discussion in Telegram.
License
The Goravel framework is open-sourced software licensed under the MIT license.