{"id":19124677,"url":"https://github.com/duncan3dc/exceptions","last_synced_at":"2025-02-22T13:58:35.890Z","repository":{"id":56973224,"uuid":"62455646","full_name":"duncan3dc/exceptions","owner":"duncan3dc","description":"A small PHP library to catch exceptions and throw them all together later","archived":false,"fork":false,"pushed_at":"2024-02-23T17:56:33.000Z","size":756,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-03T09:26:07.026Z","etag":null,"topics":["catch","exception","php","try"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/duncan3dc.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-07-02T14:52:18.000Z","updated_at":"2024-02-23T17:14:55.000Z","dependencies_parsed_at":"2024-11-09T05:30:25.648Z","dependency_job_id":"2c403b25-b801-4aff-b8c5-e252964338b6","html_url":"https://github.com/duncan3dc/exceptions","commit_stats":{"total_commits":37,"total_committers":1,"mean_commits":37.0,"dds":0.0,"last_synced_commit":"e25be2bfc042cc9196a05dad2e194cf3fd96063c"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duncan3dc%2Fexceptions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duncan3dc%2Fexceptions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duncan3dc%2Fexceptions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duncan3dc%2Fexceptions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duncan3dc","download_url":"https://codeload.github.com/duncan3dc/exceptions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240183771,"owners_count":19761440,"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":["catch","exception","php","try"],"created_at":"2024-11-09T05:29:52.130Z","updated_at":"2025-02-22T13:58:35.870Z","avatar_url":"https://github.com/duncan3dc.png","language":"PHP","readme":"# exceptions\nA small PHP library to catch exceptions and throw them all together later.\n\nFull documentation is available at http://duncan3dc.github.io/exceptions/  \nPHPDoc API documentation is also available at [http://duncan3dc.github.io/exceptions/api/](http://duncan3dc.github.io/exceptions/api/namespaces/duncan3dc.Exceptions.html)  \n\n[![release](https://poser.pugx.org/duncan3dc/exceptions/version.svg)](https://packagist.org/packages/duncan3dc/exceptions)\n[![build](https://travis-ci.org/duncan3dc/exceptions.svg?branch=master)](https://travis-ci.org/duncan3dc/exceptions)\n[![coverage](https://codecov.io/gh/duncan3dc/exceptions/graph/badge.svg)](https://codecov.io/gh/duncan3dc/exceptions)\n\n## Installation\n\nThe recommended method of installing this library is via [Composer](//getcomposer.org/).\n\nRun the following command from your project root:\n\n```bash\n$ composer require duncan3dc/exceptions\n```\n\n\n## Usage\n\n```php\nuse duncan3dc\\Exceptions\\Catcher;\n\nrequire __DIR__ . \"/vendor/autoload.php\";\n\n$catcher = new Catcher;\n\n$catcher-\u003etry(function () {\n    throw new \\Exception(\"Whoops1!\");\n});\n\n$catcher-\u003etry(function () {\n    throw new \\Exception(\"Whoops2!\");\n});\n\n$catcher-\u003etry(function () {\n    echo \"ok\\n\";\n});\n\n$catcher-\u003ethrow();\n```\n\n_Read more at http://duncan3dc.github.io/exceptions/_  \n\n\n## Changelog\nA [Changelog](CHANGELOG.md) has been available since the beginning of time\n\n\n## Where to get help\nFound a bug? Got a question? Just not sure how something works?  \nPlease [create an issue](//github.com/duncan3dc/exceptions/issues) and I'll do my best to help out.  \nAlternatively you can catch me on [Twitter](https://twitter.com/duncan3dc)\n\n\n## duncan3dc/exceptions for enterprise\n\nAvailable as part of the Tidelift Subscription\n\nThe maintainers of duncan3dc/exceptions and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/packagist-duncan3dc-exceptions?utm_source=packagist-duncan3dc-exceptions\u0026utm_medium=referral\u0026utm_campaign=readme)\n","funding_links":["https://tidelift.com/subscription/pkg/packagist-duncan3dc-exceptions?utm_source=packagist-duncan3dc-exceptions\u0026utm_medium=referral\u0026utm_campaign=readme"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduncan3dc%2Fexceptions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduncan3dc%2Fexceptions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduncan3dc%2Fexceptions/lists"}