{"id":13643327,"url":"https://github.com/codekeyz/pharaoh","last_synced_at":"2026-01-11T04:52:41.048Z","repository":{"id":206320579,"uuid":"716357419","full_name":"codekeyz/pharaoh","owner":"codekeyz","description":"Minimalist web-server library for Dart","archived":false,"fork":false,"pushed_at":"2024-03-05T23:35:45.000Z","size":412,"stargazers_count":127,"open_issues_count":1,"forks_count":19,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-24T08:05:23.040Z","etag":null,"topics":["backend","dart","expressjs","flutter","package","router","shelf"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/pharaoh","language":"Dart","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/codekeyz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2023-11-09T00:58:25.000Z","updated_at":"2024-05-29T23:44:45.136Z","dependencies_parsed_at":"2024-01-02T10:57:04.592Z","dependency_job_id":"cfc63756-d720-48fb-98e3-63365a88867d","html_url":"https://github.com/codekeyz/pharaoh","commit_stats":null,"previous_names":["codekeyz/pharoah","codekeyz/pharaoh","pharaoh-framework/pharaoh"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekeyz%2Fpharaoh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekeyz%2Fpharaoh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekeyz%2Fpharaoh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekeyz%2Fpharaoh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codekeyz","download_url":"https://codeload.github.com/codekeyz/pharaoh/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230423564,"owners_count":18223435,"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":["backend","dart","expressjs","flutter","package","router","shelf"],"created_at":"2024-08-02T01:01:45.944Z","updated_at":"2026-01-11T04:52:41.021Z","avatar_url":"https://github.com/codekeyz.png","language":"Dart","readme":"# Pharaoh 🏇\n\n[![Test Pipeline](https://github.com/codekeyz/pharaoh/actions/workflows/test.yaml/badge.svg)](https://github.com/codekeyz/pharaoh/actions/workflows/test.yaml)\n[![codecov](https://codecov.io/gh/codekeyz/pharaoh/graph/badge.svg?token=4CJTGP1U2M)](https://codecov.io/gh/codekeyz/pharaoh)\n[![Pub Version](https://img.shields.io/pub/v/pharaoh?color=green)](https://pub.dev/packages/pharaoh)\n[![likes](https://img.shields.io/pub/likes/pharaoh?logo=dart)](https://pub.dev/packages/pharaoh/score)\n[![melos](https://img.shields.io/badge/maintained%20with-melos-f700ff.svg?style=flat-square)](https://github.com/invertase/melos)\n\n## Features\n\n- Robust routing\n- Focus on high performance\n- Super-high test coverage\n- HTTP helpers (just like ExpressJS)\n- Interoperability with Shelf Middlewares [See here](./packages/pharaoh/SHELF_INTEROP.md)\n\n## Installing:\n\nIn your pubspec.yaml\n\n```yaml\ndependencies:\n  pharaoh: ^0.0.6 # requires Dart =\u003e ^3.0.0\n```\n\n## Basic Usage:\n\n```dart\nimport 'package:pharaoh/pharaoh.dart';\n\nvoid main() async {\n\n  final guestRouter = Pharaoh.router\n    ..get('/user', (req, res) =\u003e res.ok(\"Hello World\"))\n    ..post('/post', (req, res) =\u003e res.json({\"mee\": \"moo\"}))\n    ..put('/put', (req, res) =\u003e res.json({\"pookey\": \"reyrey\"}));\n\n  final app = Pharaoh()\n    ..use((req, res, next) =\u003e next());\n    ..get('/foo', (req, res) =\u003e res.ok(\"bar\"))\n    ..group('/guest', guestRouter);\n\n  await app.listen();\n}\n```\n\nSee the [Pharaoh Examples](./pharaoh_examples/lib/) directory for more practical use-cases.\n\n## Philosophy\n\nPharaoh emerges as a backend framework, inspired by the likes of ExpressJS, to empower developers in building comprehensive server-side applications using Dart. The driving force behind Pharaoh's creation is a strong belief in the potential of Dart to serve as the primary language for developing the entire architecture of a company's product. Just as the JavaScript ecosystem has evolved, Pharaoh aims to contribute to the Dart ecosystem, providing a foundation for building scalable and feature-rich server-side applications.\n\n## Contributors ✨\n\nThe Pharaoh project welcomes all constructive contributions. Contributions take many forms,\nfrom code for bug fixes and enhancements, to additions and fixes to documentation, additional\ntests, triaging incoming pull requests and issues, and more!\n\n### Contributing Code To Pharaoh 🛠\n\nTo setup and contribute to Pharaoh, Install [`Melos`](https://melos.invertase.dev/~melos-latest) as a global package via [`pub.dev`](https://pub.dev/packages/melos);\n\n```console\n$ dart pub global activate melos\n```\n\nthen initialize the workspace using the command below\n\n```console\n$ melos bootstrap\n```\n\n### Running Tests\n\nTo run the tests, you can either run `dart test` in the package you're working on or use the command below to run the full test suite:\n\n```console\n$ melos run tests\n```\n\n## People\n\n[List of all contributors](https://github.com/codekeyz/pharaoh/graphs/contributors)\n\n## License\n\n[MIT](LICENSE)\n","funding_links":[],"categories":["Dart"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodekeyz%2Fpharaoh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodekeyz%2Fpharaoh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodekeyz%2Fpharaoh/lists"}