ahmetbarut / php-exception
Php simple expception
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
Requires
- php: >=7.4
This package is auto-updated.
Last update: 2025-03-08 05:08:18 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(); }
...