{"id":19095011,"url":"https://github.com/phauthentic/dispatcher-middleware","last_synced_at":"2026-05-26T05:30:16.891Z","repository":{"id":57038659,"uuid":"257664541","full_name":"Phauthentic/dispatcher-middleware","owner":"Phauthentic","description":"Dispatches a specific handler or controller and action after extracting the information to do so from the request","archived":false,"fork":false,"pushed_at":"2021-08-14T00:17:30.000Z","size":35,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-02T23:48:41.523Z","etag":null,"topics":["dispatcher","framework-agnostic","framework-less","middleware","php-library","php7","psr","psr-15","psr-17","psr-7","request-handling"],"latest_commit_sha":null,"homepage":null,"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/Phauthentic.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-21T17:23:02.000Z","updated_at":"2022-02-12T12:21:20.000Z","dependencies_parsed_at":"2022-08-23T23:31:00.891Z","dependency_job_id":null,"html_url":"https://github.com/Phauthentic/dispatcher-middleware","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Phauthentic%2Fdispatcher-middleware","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Phauthentic%2Fdispatcher-middleware/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Phauthentic%2Fdispatcher-middleware/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Phauthentic%2Fdispatcher-middleware/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Phauthentic","download_url":"https://codeload.github.com/Phauthentic/dispatcher-middleware/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240144904,"owners_count":19754978,"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":["dispatcher","framework-agnostic","framework-less","middleware","php-library","php7","psr","psr-15","psr-17","psr-7","request-handling"],"created_at":"2024-11-09T03:32:27.588Z","updated_at":"2026-05-26T05:30:16.831Z","avatar_url":"https://github.com/Phauthentic.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dispatcher Middleware\n\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)\n[![Scrutinizer Coverage](https://img.shields.io/scrutinizer/coverage/g/Phauthentic/dispatcher-middleware/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/Phauthentic/dispatcher-middleware/)\n[![Code Quality](https://img.shields.io/scrutinizer/g/Phauthentic/dispatcher-middleware/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/Phauthentic/dispatcher-middleware/)\n\nThe middleware takes an extractor and a dispatcher object. The extractor extracts whatever information is needed from the server request object and returns the handler. The actual dispatcher will then execute the handler.\n\nThis is a very clean separation of concerns and should provide you a maximum of flexibility to change your dispatching processes as you need it. For details check the documentation.\n\nThe only requirement is that your request object somehow contains the information that is needed to figure out what handler should take the request.  This can can be done by passing the result of the routing as a request attribute for example.\n\n## Requirements\n\nThe library has no other dependencies than the PSR HTTP and container interfaces. The only requirement to use this library is that you are using a PSR compatible middleware queue.\n\n## Documentation\n\nPlease see the [docs][1] folder in this repository for the documentation.\n\n## License\n\nCopyright 2020 Florian Krämer\n\nLicensed under the [MIT license](license.txt).\n\n[1]: /docs/index.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphauthentic%2Fdispatcher-middleware","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphauthentic%2Fdispatcher-middleware","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphauthentic%2Fdispatcher-middleware/lists"}