webxid/laravel-debug-helpers
Composer 安装命令:
composer require webxid/laravel-debug-helpers
包简介
Debug helper for Laravel Framework.
README 文档
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
统计信息
- 总下载量: 92
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-01-23