{"id":20346207,"url":"https://github.com/talesoft/tale-test-app","last_synced_at":"2026-05-11T14:32:24.365Z","repository":{"id":152351779,"uuid":"52832391","full_name":"Talesoft/tale-test-app","owner":"Talesoft","description":null,"archived":false,"fork":false,"pushed_at":"2016-03-01T00:44:04.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-04T15:48:10.798Z","etag":null,"topics":[],"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/Talesoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2016-02-29T23:24:32.000Z","updated_at":"2016-03-01T00:44:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4cfd3eb-9b2a-48f9-8f20-c68318b52cde","html_url":"https://github.com/Talesoft/tale-test-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Talesoft/tale-test-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Talesoft%2Ftale-test-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Talesoft%2Ftale-test-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Talesoft%2Ftale-test-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Talesoft%2Ftale-test-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Talesoft","download_url":"https://codeload.github.com/Talesoft/tale-test-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Talesoft%2Ftale-test-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32898936,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-14T22:12:07.835Z","updated_at":"2026-05-11T14:32:24.338Z","avatar_url":"https://github.com/Talesoft.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Tale Runtime\n**A Tale Framework Component**\n\n# What is Tale Runtime?\n\nTale Runtime is a small PSR-7 compliant, middleware-based HTTP runtime for any kind\nof PHP project.\n\nIt acts as a foundation for web applications with PHP.\n\n# Installation\n\nInstall via Composer\n\n```bash\ncomposer require \"talesoft/tale-runtime:*\"\ncomposer install\n```\n\n# Usage\n\n```php\n\n$app = new Tale\\Runtime\\App();\n\nclass HelloMiddleware implements Tale\\Runtime\\MiddlewareInterface\n{\n\n    public function __invoke(\n        ServerRequestInterface $request,\n        ResponseInterface $response,\n        callable $next\n    )\n    {\n        $response-\u003egetBody()-\u003ewrite('Hello ');\n\n        return $next($request, $response);\n    }\n}\n\nclass WorldMiddleware implements Tale\\Runtime\\MiddlewareInterface\n{\n\n    public function __invoke(\n        ServerRequestInterface $request,\n        ResponseInterface $response,\n        callable $next\n    )\n    {\n        $response-\u003egetBody()-\u003ewrite('World!');\n        \n        return $next($request, $response);\n    }\n}\n\n$app = $app-\u003ewith(new HelloMiddleware())\n    -\u003ewith(new WorldMiddleware());\n    \n\nTale\\Http\\Emitter::emit($app-\u003erun()); //Outputs \"Hello World!\" to the client\n    \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftalesoft%2Ftale-test-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftalesoft%2Ftale-test-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftalesoft%2Ftale-test-app/lists"}