{"id":15282155,"url":"https://github.com/contributte/api-router-skeleton","last_synced_at":"2025-04-12T21:07:26.143Z","repository":{"id":36954183,"uuid":"96086587","full_name":"contributte/api-router-skeleton","owner":"contributte","description":"🎁 API router project skeleton based on Nette Framework (@nette) and Contributte (@contributte) libraries by @f3l1x \u0026 @paveljanda.","archived":false,"fork":false,"pushed_at":"2024-11-07T09:09:47.000Z","size":455,"stargazers_count":6,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T21:07:19.552Z","etag":null,"topics":["api","contributte","nette-framework","router"],"latest_commit_sha":null,"homepage":"https://examples.contributte.org/api-router-skeleton/","language":"PHP","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/contributte.png","metadata":{"funding":{"github":["f3l1x"],"custom":["https://contributte.org/partners.html"]},"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-03T08:12:13.000Z","updated_at":"2025-03-29T10:45:05.000Z","dependencies_parsed_at":"2023-10-03T17:56:35.524Z","dependency_job_id":"7da24025-57f8-48c1-aa54-9e528f14f2be","html_url":"https://github.com/contributte/api-router-skeleton","commit_stats":{"total_commits":221,"total_committers":9,"mean_commits":"24.555555555555557","dds":"0.14479638009049778","last_synced_commit":"ce4e007966a1ce8c3c63e52bc62d9a2ade135348"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contributte%2Fapi-router-skeleton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contributte%2Fapi-router-skeleton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contributte%2Fapi-router-skeleton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contributte%2Fapi-router-skeleton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/contributte","download_url":"https://codeload.github.com/contributte/api-router-skeleton/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631677,"owners_count":21136562,"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":["api","contributte","nette-framework","router"],"created_at":"2024-09-30T14:19:08.981Z","updated_at":"2025-04-12T21:07:26.110Z","avatar_url":"https://github.com/contributte.png","language":"PHP","funding_links":["https://github.com/sponsors/f3l1x","https://contributte.org/partners.html"],"categories":[],"sub_categories":[],"readme":"![](https://heatbadger.now.sh/github/readme/contributte/api-router-skeleton/)\n\n\u003cp align=center\u003e\n  \u003ca href=\"https://github.com/ublaboo/api-router-project/actions\"\u003e\u003cimg src=\"https://badgen.net/github/checks/ublaboo/api-router-project/master\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://coveralls.io/r/ublaboo/api-router-project\"\u003e\u003cimg src=\"https://badgen.net/coveralls/c/github/ublaboo/api-router-project\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://packagist.org/packages/ublaboo/api-router-project\"\u003e\u003cimg src=\"https://badgen.net/packagist/dm/ublaboo/api-router-project\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://packagist.org/packages/ublaboo/api-router-project\"\u003e\u003cimg src=\"https://badgen.net/packagist/v/ublaboo/api-router-project\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=center\u003e\n  \u003ca href=\"https://packagist.org/packages/ublaboo/api-router-project\"\u003e\u003cimg src=\"https://badgen.net/packagist/php/ublaboo/api-router-project\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/ublaboo/api-router-project\"\u003e\u003cimg src=\"https://badgen.net/github/license/ublaboo/api-router-project\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://bit.ly/ctteg\"\u003e\u003cimg src=\"https://badgen.net/badge/support/gitter/cyan\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://bit.ly/cttfo\"\u003e\u003cimg src=\"https://badgen.net/badge/support/forum/yellow\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://contributte.org/partners.html\"\u003e\u003cimg src=\"https://badgen.net/badge/sponsor/donations/F96854\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=center\u003e\nWebsite 🚀 \u003ca href=\"https://contributte.org\"\u003econtributte.org\u003c/a\u003e | Contact 👨🏻‍💻 \u003ca href=\"https://f3l1x.io\"\u003ef3l1x.io\u003c/a\u003e | Twitter 🐦 \u003ca href=\"https://twitter.com/contributte\"\u003e@contributte\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=center\u003e\n\t\u003cimg src=\"https://api.microlink.io?url=https%3A%2F%2Fexamples.contributte.org%2Fapi-router-skeleton%2F\u0026overlay.browser=light\u0026screenshot=true\u0026meta=false\u0026embed=screenshot.url\"\u003e\u003c/img\u003e\n\u003c/p\u003e\n\n-----\n\n## Goal\n\nMain goal is to provide skeleton for [contributte/api-router](https://github.com/contributte/api-router) library.\n\nFocused on:\n\n- latest PHP 8\n- `nette/*` packages\n\n## Demo\n\nhttps://examples.contributte.org/api-router-skeleton/\n\n## Installation\n\nTo install latest version of `contributte/api-router-skeleton` use [Composer](https://getcomposer.org).\n\n```\ncomposer create-project -s dev contributte/api-router-skeleton acme\n```\n\nStart PHP development server via `make dev`.\n\nAnd take a look at:\n\n- [GET] http://localhost:8000/api/ping\n- [POST] http://localhost:8000/api/login\n\n## Get Started\n\n- Using `contributte/api-router` for routing\n- Implementing `IPresenter` in endpoints (`App\\Controllers\\LoginController`) instead of extending `UI\\Presenter`\n- Extending `ApiResponse` from Nette `JsonResponse`, just to make it more simple to add more custom headers and so on\n- `LoginController` and `ErrorController` is using `ApiResponseFormatter` for formatting succes message, payload data or and exception\n\n## Development\n\nSee [how to contribute](https://contributte.org/contributing.html) to this package.\n\nThis package is currently maintained by these authors.\n\n\u003ca href=\"https://github.com/f3l1x\"\u003e\n  \u003cimg width=\"80\" height=\"80\" src=\"https://avatars2.githubusercontent.com/u/538058?v=3\u0026s=80\"\u003e\n\u003c/a\u003e\n\n\u003ca href=\"https://github.com/paveljanda\"\u003e\n  \u003cimg width=\"80\" height=\"80\" src=\"https://avatars2.githubusercontent.com/u/1488874?v=3\u0026s=80\"\u003e\n\u003c/a\u003e\n\n-----\n\nConsider to [support](https://contributte.org/partners.html) **contributte** development team.\nAlso thank you for using this package.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontributte%2Fapi-router-skeleton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcontributte%2Fapi-router-skeleton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontributte%2Fapi-router-skeleton/lists"}