ahmetbarut / php-exception
Php simple expception
Package info
github.com/ahmetbarut/php-exceptions
Type:package
pkg:composer/ahmetbarut/php-exception
v0.1.0
2021-11-07 21:29 UTC
Requires
- php: >=7.4
This package is auto-updated.
Last update: 2026-03-08 07:13:14 UTC
README
It finds which file and line it is in by following the exceptions in PHP and shows you the codes of the relevant file and error.
Install
composer require ahmetbarut/php-exception
Configure
My advice to you is to use it where all the exceptions occur, that is, where your application is running. This way you can see all exceptions.
use AhmetBarut\Exception\Init; try { // code... } catch (\Throwable $th) { $ex = new Init($th); $ex->run(); }
...
