{"id":18834330,"url":"https://github.com/chubbyphp/chubbyphp-http-exception","last_synced_at":"2026-02-13T05:43:45.803Z","repository":{"id":59609175,"uuid":"538124049","full_name":"chubbyphp/chubbyphp-http-exception","owner":"chubbyphp","description":"Creates http exceptions which can be catched and converted to error responses.","archived":false,"fork":false,"pushed_at":"2026-01-12T21:20:14.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-13T00:48:27.255Z","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/chubbyphp.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-09-18T13:49:52.000Z","updated_at":"2026-01-12T21:19:00.000Z","dependencies_parsed_at":"2024-03-13T21:27:31.841Z","dependency_job_id":"6d7994a1-44de-4384-90b6-b4f31bf97792","html_url":"https://github.com/chubbyphp/chubbyphp-http-exception","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"3249a99e4b8f2fe60587c15ece1c2208f67ee7dc"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/chubbyphp/chubbyphp-http-exception","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chubbyphp%2Fchubbyphp-http-exception","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chubbyphp%2Fchubbyphp-http-exception/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chubbyphp%2Fchubbyphp-http-exception/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chubbyphp%2Fchubbyphp-http-exception/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chubbyphp","download_url":"https://codeload.github.com/chubbyphp/chubbyphp-http-exception/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chubbyphp%2Fchubbyphp-http-exception/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29397125,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T04:26:15.637Z","status":"ssl_error","status_checked_at":"2026-02-13T04:16:29.732Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-11-08T02:11:59.095Z","updated_at":"2026-02-13T05:43:45.797Z","avatar_url":"https://github.com/chubbyphp.png","language":"PHP","readme":"# chubbyphp-http-exception\n\n[![CI](https://github.com/chubbyphp/chubbyphp-http-exception/actions/workflows/ci.yml/badge.svg)](https://github.com/chubbyphp/chubbyphp-http-exception/actions/workflows/ci.yml)\n[![Coverage Status](https://coveralls.io/repos/github/chubbyphp/chubbyphp-http-exception/badge.svg?branch=master)](https://coveralls.io/github/chubbyphp/chubbyphp-http-exception?branch=master)\n[![Mutation testing badge](https://img.shields.io/endpoint?style=flat\u0026url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fchubbyphp%2Fchubbyphp-http-exception%2Fmaster)](https://dashboard.stryker-mutator.io/reports/github.com/chubbyphp/chubbyphp-http-exception/master)\n[![Latest Stable Version](https://poser.pugx.org/chubbyphp/chubbyphp-http-exception/v)](https://packagist.org/packages/chubbyphp/chubbyphp-http-exception)\n[![Total Downloads](https://poser.pugx.org/chubbyphp/chubbyphp-http-exception/downloads)](https://packagist.org/packages/chubbyphp/chubbyphp-http-exception)\n[![Monthly Downloads](https://poser.pugx.org/chubbyphp/chubbyphp-http-exception/d/monthly)](https://packagist.org/packages/chubbyphp/chubbyphp-http-exception)\n\n[![bugs](https://sonarcloud.io/api/project_badges/measure?project=chubbyphp_chubbyphp-http-exception\u0026metric=bugs)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-http-exception)\n[![code_smells](https://sonarcloud.io/api/project_badges/measure?project=chubbyphp_chubbyphp-http-exception\u0026metric=code_smells)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-http-exception)\n[![coverage](https://sonarcloud.io/api/project_badges/measure?project=chubbyphp_chubbyphp-http-exception\u0026metric=coverage)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-http-exception)\n[![duplicated_lines_density](https://sonarcloud.io/api/project_badges/measure?project=chubbyphp_chubbyphp-http-exception\u0026metric=duplicated_lines_density)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-http-exception)\n[![ncloc](https://sonarcloud.io/api/project_badges/measure?project=chubbyphp_chubbyphp-http-exception\u0026metric=ncloc)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-http-exception)\n[![sqale_rating](https://sonarcloud.io/api/project_badges/measure?project=chubbyphp_chubbyphp-http-exception\u0026metric=sqale_rating)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-http-exception)\n[![alert_status](https://sonarcloud.io/api/project_badges/measure?project=chubbyphp_chubbyphp-http-exception\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-http-exception)\n[![reliability_rating](https://sonarcloud.io/api/project_badges/measure?project=chubbyphp_chubbyphp-http-exception\u0026metric=reliability_rating)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-http-exception)\n[![security_rating](https://sonarcloud.io/api/project_badges/measure?project=chubbyphp_chubbyphp-http-exception\u0026metric=security_rating)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-http-exception)\n[![sqale_index](https://sonarcloud.io/api/project_badges/measure?project=chubbyphp_chubbyphp-http-exception\u0026metric=sqale_index)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-http-exception)\n[![vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=chubbyphp_chubbyphp-http-exception\u0026metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-http-exception)\n\n## Description\n\nCreates http exceptions which can be catched and converted to error responses.\n\n## Requirements\n\n * php: ^8.3\n\n## Installation\n\nThrough [Composer](http://getcomposer.org) as [chubbyphp/chubbyphp-http-exception][1].\n\n```bash\ncomposer require chubbyphp/chubbyphp-http-exception \"^1.3\"\n```\n\n## Usage\n\n```php\n\u003c?php\n\ndeclare(strict_types=1);\n\nnamespace App;\n\nuse Chubbyphp\\HttpException\\HttpException;\n\n$exception = new \\RuntimeException('error');\n\n$httpException = HttpException::createBadRequest([\n    'key1' =\u003e 'value1',\n    'key2' =\u003e 'value2'\n], $exception);\n```\n\n## Copyright\n\n2026 Dominik Zogg\n\n[1]: https://packagist.org/packages/chubbyphp/chubbyphp-http-exception\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchubbyphp%2Fchubbyphp-http-exception","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchubbyphp%2Fchubbyphp-http-exception","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchubbyphp%2Fchubbyphp-http-exception/lists"}