{"id":23828733,"url":"https://github.com/ionux/custom-php-error-handler","last_synced_at":"2025-10-08T06:13:11.582Z","repository":{"id":24251381,"uuid":"27644799","full_name":"ionux/custom-php-error-handler","owner":"ionux","description":"A custom, flexible and configurable PHP error handler useful for debugging.","archived":false,"fork":false,"pushed_at":"2024-03-04T00:52:34.000Z","size":24,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-02T06:06:56.263Z","etag":null,"topics":[],"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/ionux.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}},"created_at":"2014-12-06T18:42:52.000Z","updated_at":"2023-06-26T07:49:50.000Z","dependencies_parsed_at":"2024-03-04T01:43:17.110Z","dependency_job_id":"d89c02d4-a635-4655-9c84-e92cc4370076","html_url":"https://github.com/ionux/custom-php-error-handler","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ionux/custom-php-error-handler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionux%2Fcustom-php-error-handler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionux%2Fcustom-php-error-handler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionux%2Fcustom-php-error-handler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionux%2Fcustom-php-error-handler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ionux","download_url":"https://codeload.github.com/ionux/custom-php-error-handler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionux%2Fcustom-php-error-handler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278898541,"owners_count":26065015,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"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":"2025-01-02T13:33:14.845Z","updated_at":"2025-10-08T06:13:11.531Z","avatar_url":"https://github.com/ionux.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Customizable PHP Error Handler (custom-php-error-handler)\n========================\n\u003cstrong\u003eCopyright (c) 2014-2024 Rich Morgan, rich@richmorgan.me\u003c/strong\u003e\n\n\nDescription\n------------\nThis is a custom, flexible and configurable error handler useful for debugging.  It writes the specified level of error messages to a log file and can be set to either bypass or not bypass the internal PHP error handler.  Also can log backtraces of the function calls and the complete context of variables present at the time of the error.\n\n\nInstallation\n------------\nInclude this error handling script at the top of your own PHP scripts. For example:\n```php\ninclude_once('MyErrHandler.php');\n```\n\n\nUsage\n-----\n1. Set the error reporting to the level you want to capture.\n2. Set the error handler to this custom function.\n3. The filename parameter is optional and defaults to \"php_errors.log\" in the same directory.\n\nFor example, if you want to capture all errors, notices, warnings:\n```php\nerror_reporting(E_ALL);\nini_set('error_reporting', E_ALL);\nset_error_handler('MyErrHandler', E_ALL);\n```\n\n\nLicense\n------\nReleased under the MIT License.\n\n\u003cpre\u003e\nThe MIT License (MIT)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\u003c/pre\u003e\n\n\nContributing\n------------\nAll code contributions, bugfixes, enhancements, etc are welcome!  Feel free to fork this project and submit pull requests.\n\n\nVersion History\n---------------\n\u003cstrong\u003eVersion 1.0.0:\u003c/strong\u003e\u003cbr /\u003e-Initial release 12/6/2014\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fionux%2Fcustom-php-error-handler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fionux%2Fcustom-php-error-handler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fionux%2Fcustom-php-error-handler/lists"}