Files
goravel/README.md
Wenbo Han 01c87faebf Upgrade v1.8.0 (#26)
* Upgrade v1.8.0
2023-01-30 21:40:48 +08:00

1.8 KiB
Raw Blame History

English | 中文

About Goravel

Goravel is a web application framework with complete functions and good scalability. As a starting scaffolding to help Golang developers 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 star, PR and issues

Getting started

// Generate APP_KEY
go run . artisan key:generate

// Route
facades.Route.Get("/", userController.Show)

// ORM
facades.Orm.Query().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

  • Custom .env path
  • Database read-write separation
  • Extend Redis driver

Documentation

Online documentation https://www.goravel.dev

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

Group

Welcome more exchanges in Discord.

https://discord.gg/cFc5csczzS

License

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