{"id":20712204,"url":"https://github.com/goravel/fiber","last_synced_at":"2025-04-23T06:50:16.491Z","repository":{"id":176690049,"uuid":"655625431","full_name":"goravel/fiber","owner":"goravel","description":"Fiber driver for Goravel","archived":false,"fork":false,"pushed_at":"2025-04-16T09:59:27.000Z","size":473,"stargazers_count":17,"open_issues_count":1,"forks_count":7,"subscribers_count":4,"default_branch":"v1.3.x","last_synced_at":"2025-04-23T06:50:04.838Z","etag":null,"topics":["fiber","go","gofiber"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/goravel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-06-19T09:16:53.000Z","updated_at":"2025-04-16T09:47:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"bad333e4-f138-424c-b207-1439698746db","html_url":"https://github.com/goravel/fiber","commit_stats":null,"previous_names":["goravel/fiber"],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goravel%2Ffiber","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goravel%2Ffiber/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goravel%2Ffiber/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goravel%2Ffiber/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goravel","download_url":"https://codeload.github.com/goravel/fiber/tar.gz/refs/heads/v1.3.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250386742,"owners_count":21422026,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fiber","go","gofiber"],"created_at":"2024-11-17T02:18:40.228Z","updated_at":"2025-04-23T06:50:16.483Z","avatar_url":"https://github.com/goravel.png","language":"Go","funding_links":[],"categories":["🚧 Boilerplates"],"sub_categories":["🌱 Third Party"],"readme":"# Fiber\n\n[![Doc](https://pkg.go.dev/badge/github.com/goravel/fiber)](https://pkg.go.dev/github.com/goravel/fiber)\n[![Go](https://img.shields.io/github/go-mod/go-version/goravel/fiber)](https://go.dev/)\n[![Release](https://img.shields.io/github/release/goravel/fiber.svg)](https://github.com/goravel/fiber/releases)\n[![Test](https://github.com/goravel/fiber/actions/workflows/test.yml/badge.svg)](https://github.com/goravel/fiber/actions)\n[![Report Card](https://goreportcard.com/badge/github.com/goravel/fiber)](https://goreportcard.com/report/github.com/goravel/fiber)\n[![Codecov](https://codecov.io/gh/goravel/fiber/branch/master/graph/badge.svg)](https://codecov.io/gh/goravel/fiber)\n![License](https://img.shields.io/github/license/goravel/fiber)\n\nFiber http driver for Goravel.\n\n## Version\n\n| goravel/fiber | goravel/framework |\n|---------------|-------------------|\n| v1.3.x        | v1.15.x           |\n| v1.2.x        | v1.14.x           |\n| v1.1.x        | v1.13.x           |\n\n## Install\n\n1. Add package\n\n```\ngo get -u github.com/goravel/fiber\n```\n\n2. Register service provider\n\n```\n// config/app.go\nimport \"github.com/goravel/fiber\"\n\n\"providers\": []foundation.ServiceProvider{\n    ...\n    \u0026fiber.ServiceProvider{},\n}\n```\n\n3. Add fiber config to `config/http.go` file\n\n```\n// config/http.go\nimport (\n    fiberfacades \"github.com/goravel/fiber/facades\"\n    \"github.com/gofiber/template/html/v2\"\n    \"github.com/gofiber/fiber/v2\"\n)\n\n\"default\": \"fiber\",\n\n\"drivers\": map[string]any{\n    \"fiber\": map[string]any{\n        // prefork mode, see https://docs.gofiber.io/api/fiber/#config\n        \"prefork\": false,\n        // Optional, default is 4096 KB\n        \"body_limit\": 4096,\n        \"header_limit\": 4096,\n        \"route\": func() (route.Route, error) {\n            return fiberfacades.Route(\"fiber\"), nil\n        },\n        // Optional, default is \"html/template\"\n        \"template\": func() (fiber.Views, error) {\n            return html.New(\"./resources/views\", \".tmpl\"), nil\n        },\n    },\n},\n```\n\n## Testing\n\nRun command below to run test:\n\n```\ngo test ./...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoravel%2Ffiber","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoravel%2Ffiber","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoravel%2Ffiber/lists"}