webxid / laravel-debug-helpers
Debug helper for Laravel Framework.
Installs: 90
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/webxid/laravel-debug-helpers
Requires
- php: ^7.3|^8.0
- laravel/framework: ^7|^8|^9
- symfony/var-dumper: ^5.0|^6.0
This package is auto-updated.
Last update: 2025-10-17 19:55:30 UTC
README
Add the next things
-
Run
composer require webxid/laravel-debug-helpers --devin command line -
File
/artisan, afterdefine('LARAVEL_START', microtime(true));
if (file_exists(__DIR__.'/vendor/webxid/laravel-debug-helpers/src/helpers.php')) { require __DIR__.'/vendor/webxid/laravel-debug-helpers/src/helpers.php'; }
- File
/public/index.php, afterdefine('LARAVEL_START', microtime(true));
if (file_exists(__DIR__.'/../vendor/webxid/laravel-debug-helpers/src/helpers.php')) { require __DIR__.'/../vendor/webxid/laravel-debug-helpers/src/helpers.php'; }
How To Use
This lib halps to improve the default Laravel debug stuff:
-
Adds a function call place Route for
dd()into the and of print -
Adds redirect place into a page headers
-
_dd()write a dump intostorage/logs/laravel.log. It replaces the content (by default) or adds a string in the end of the file (check the function parameters) -
_trace()halps to understand, how a script comes in some place of code