Skip to content

A Golang framework for web artisans. Tribute to Laravel.

License

Notifications You must be signed in to change notification settings

MaXiaofei2014/goravel

 
 

Repository files navigation

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()

Main Function

  • Config
  • Http
  • Authentication
  • Authorization
  • Orm
  • Migrate
  • Logger
  • Cache
  • Grpc
  • Artisan Console
  • Task Scheduling
  • Queue
  • Event
  • FileStorage
  • Mail
  • Validation
  • Mock

Roadmap

  • Hash
  • Crypt
  • Support Websocket
  • Broadcasting
  • Delay Queue
  • Queue supports DB driver
  • Notifications
  • Optimize unit tests

Documentation

Online documentation https://www.goravel.dev

To optimize the documentation, please submit a PR to the documentation repository https://github.com/goravel/docs

Contributors

This project exists thanks to all the people who contribute.

Group

Welcome more discussion in Telegram.

https://t.me/goravel

License

The Goravel framework is open-sourced software licensed under the MIT license.

About

A Golang framework for web artisans. Tribute to Laravel.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 96.1%
  • Dockerfile 2.2%
  • Shell 1.7%