Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sujit-baniya/goravel
https://github.com/sujit-baniya/goravel
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sujit-baniya/goravel
- Owner: sujit-baniya
- License: mit
- Created: 2022-10-20T08:19:20.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-11-13T06:38:22.000Z (about 2 years ago)
- Last Synced: 2024-08-04T01:06:47.027Z (5 months ago)
- Language: Go
- Size: 22.6 MB
- Stars: 17
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-fiber - sujit-baniya/goravel - Laravel similar boilerplate go Go with support for Gofiber or Gin. (🚧 Boilerplates / 🌱 Third Party)
README
Forked https://github.com/goravel/framework
With support to switch between [Gin](https://gin-gonic.com/), [Chi](https://github.com/sujit-baniya/chi) and [GoFiber](https://gofiber.io/) 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```go
"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](https://github.com/goravel/docs/tree/master/v0)
> .## Main Function
- [x] Config
- [x] Http
- [x] Orm
- [x] Migrate
- [x] Logger
- [x] Cache
- [x] Grpc
- [x] Artisan Console
- [x] Task Scheduling
- [x] Queue
- [x] Event
- [x] Mail
- [x] Mock## Roadmap
- [ ] Optimize experience of microservice
- [ ] Orm relationships
- [ ] Request validator
- [ ] Jwt## Documentation
Online documentation [https://www.goravel.dev](https://www.goravel.dev)
> To optimize the documentation, please submit a PR to the documentation
> repository [https://github.com/goravel/docs](https://github.com/goravel/docs)## Group
Welcome more exchanges in Discord.
[https://discord.gg/cFc5csczzS](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](https://opensource.org/licenses/MIT).