PHP Error Handling

Open-source PHP projects categorized as Error Handling

Top 7 PHP Error Handling Projects

  • Whoops

    PHP errors for cool kids

    Project mention: Weekly help thread | reddit.com/r/PHP | 2022-11-28

    To get the full control of the error output (or, rather, of the error message handling) I would suggest to use an exception handling function, set_exception_handler() I've got an example in my article on PHP error reporting. There, instead of just spitting out the raw exception, you can use the Exception class methods to get the relevant parts and either log or echo them out, depends on the server role. Or you can even include a library like Whoops that dramatically improves the output.

  • Tracy

    😎 Tracy: the addictive tool to ease debugging PHP code for cool developers. Friendly design, logging, profiler, advanced features like debugging AJAX calls or CLI support. You will love it. (by nette)

    Project mention: 5 PHP Frameworks You've (Probably) Never Heard of | dev.to | 2022-12-31

    You may have already used some of Nette's tools in other projects you've worked on and not known it! There is the very extendable Tracy for debugging similar to Whoosh, and Latte for intuitive HTML templating.

  • ONLYOFFICE

    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

  • laravel-ignition

    A beautiful error page for Laravel apps

    Project mention: I hate PHP development | reddit.com/r/ProgrammerHumor | 2022-08-17

    Check out spatie/laravel-ignition (if using Laravel) or filp/whoops

  • sneaker

    An easy way to send emails whenever an exception occurs on server.

  • friendly-exception

    An interface for an exception to be friendly

  • honeybadger-php

    PHP library for reporting errors to Honeybadger.io :elephant: :zap:

    Project mention: Logging Errors in PHP | dev.to | 2023-02-13

    All it takes is an instance of Honeybadger\LogHandler as a Monolog Handler.

  • error-handler

    Framework independent advanced error handler

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-02-13.

PHP Error Handling related posts

Index

What are some of the best open-source Error Handling projects in PHP? This list will help you:

Project Stars
1 Whoops 13,006
2 Tracy 1,641
3 laravel-ignition 308
4 sneaker 221
5 friendly-exception 45
6 honeybadger-php 36
7 error-handler 10
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
www.sonarqube.org