Skip to content

sujit-baniya/goravel

Repository files navigation

Forked https://github.com/goravel/framework With support to switch between Gin, Chi and GoFiber along with following features supported.

Additional Features

  • Switable Routers (Currently Chi, Go-Gonic and Gofiber)
  • Support for template engine for views (Currently html/template supported)
  • Support for static files
  • Change in API for context, request and response to support various routers in future.
  • Introduction of routes for Web and API including inline middlewares for routes.

Switch between Chi, Gin or GoFiber

In config/app.go, in ServiceProvider list change route.ServiceProvider accordingly as

    "providers": []contracts.ServiceProvider{
        ...
			/*&route.ServiceProvider{Engine: fiberRoute.New(fiber.Config{
				Views: view.New("resources/views", ".html"),
			})},*/
			/*&route.ServiceProvider{Engine: ginRoute.New(ginRoute.Config{
				View: view.New("resources/views", ".html"),
			})},*/
			&route.ServiceProvider{Engine: route.NewChi(http.ChiConfig{
				View: view.New("resources/views", ".html"),
			})},
			// &route.ServiceProvider{}, // Default Chi (standard net/http) is used: https://github.com/sujit-baniya/chi
        ...
    },

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.

IMPORTANT:Goravel v1 has been greatly upgraded and refactored, not compatible with v0, the v0 version is no longer updated and maintained, but its documentation can be found on v0 .

Main Function

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

Roadmap

  • Optimize experience of microservice
  • Orm relationships
  • Request validator
  • Jwt

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

Tribute Laravel

Goravel and Laravel remain highly consistent, let PHPer play Golang happily without learning a new framework!

License

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published