{"id":36979178,"url":"https://github.com/n1215/simple-adr","last_synced_at":"2026-01-13T22:48:47.145Z","repository":{"id":57023143,"uuid":"93985122","full_name":"n1215/simple-adr","owner":"n1215","description":"A PSR-15 / PSR-17 compatible simple Action-Domain-Responder pattern example with no framework.","archived":false,"fork":false,"pushed_at":"2020-01-11T11:28:39.000Z","size":16,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T01:20:41.725Z","etag":null,"topics":["action-domain-responder","adr","psr-15","psr-17","psr-7"],"latest_commit_sha":null,"homepage":"","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/n1215.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":null,"security":null,"support":null}},"created_at":"2017-06-11T06:03:51.000Z","updated_at":"2022-03-25T11:15:16.000Z","dependencies_parsed_at":"2022-08-23T13:50:22.411Z","dependency_job_id":null,"html_url":"https://github.com/n1215/simple-adr","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/n1215/simple-adr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n1215%2Fsimple-adr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n1215%2Fsimple-adr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n1215%2Fsimple-adr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n1215%2Fsimple-adr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/n1215","download_url":"https://codeload.github.com/n1215/simple-adr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n1215%2Fsimple-adr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28403737,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["action-domain-responder","adr","psr-15","psr-17","psr-7"],"created_at":"2026-01-13T22:48:47.073Z","updated_at":"2026-01-13T22:48:47.139Z","avatar_url":"https://github.com/n1215.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SimpleAdr\n[![Latest Stable Version](https://poser.pugx.org/n1215/simple-adr/v/stable)](https://packagist.org/packages/n1215/simple-adr)\n[![License](https://poser.pugx.org/n1215/simple-adr/license)](https://packagist.org/packages/n1215/simple-adr)\n[![Build Status](https://scrutinizer-ci.com/g/n1215/simple-adr/badges/build.png?b=master)](https://scrutinizer-ci.com/g/n1215/simple-adr/build-status/master)\n[![Code Coverage](https://scrutinizer-ci.com/g/n1215/simple-adr/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/n1215/simple-adr/?branch=master)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/n1215/simple-adr/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/n1215/simple-adr/?branch=master)\n\nA dead simple [Action-Domain-Responder pattern](https://github.com/pmjones/adr) example with no framework.\nCompatible with [PSR-15 HTTP Server Request Handlers](https://www.php-fig.org/psr/psr-15/) and [PSR-17 HTTP Factories](https://www.php-fig.org/psr/psr-17/).\n\n# Usage\n\n## Install\n\n```\ncomposer create-project n1215/simple-adr\n```\n\n## Start server\n\n```\ncd simple-adr\nphp -S localhost:8000 -t public\n```\n\nand access\n\n- http://localhost:8000/?id=1\n- http://localhost:8000/?id=2\n- http://localhost:8000/?id=3\n\n## Directory structure\n\n- entry point: [public/index.php](public/index.php)\n- Action: [\\N1215\\SimpleAdr\\Action\\UserShowAction](src/Action/UserShowAction.php)\n- Domain: [\\N1215\\SimpleAdr\\Domain\\UserShowUseCase](src/Domain/UserShowUseCase.php)\n- Responder: [\\N1215\\SimpleAdr\\Responder\\UserShowJsonResponder](src/Responder/UserShowJsonResponder.php)\n\n\n# License\nThe MIT License (MIT). Please see [LICENSE](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn1215%2Fsimple-adr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fn1215%2Fsimple-adr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn1215%2Fsimple-adr/lists"}