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
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-08 08:18:52 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(); }
...
