Laravel Debugging Tools

Source: Internet
Author: User

Debugbar GitHub Address: https://github.com/barryvdh/laravel-debugbar/tree/1.8 Laravel for version 1.8

Require This package with composer:

Composer require barryvdh/laravel-debugbar:~1.8

after updating composer, add the serviceprovider to the providers array in app/config/app.php

note for Laravel 5:if-a catch-all/fallback route, make sure you load the Debugbar serviceprovider before your ow n App serviceproviders.

' Barryvdh\debugbar\serviceprovider ',

If you want to use the facade to log messages, add this to your facades in app.php:

' Debugbar ' = ' barryvdh\debugbar\facade ',

The profiler is enabled by default and if you have app.debug=true. You can override this in the config files. You can also set in your config if you want to include/exclude the vendor files also (Fontawesome, Highlight.js and JQuery ). If you already with them in your site, set it to false. You can also only display the JS for CSS vendors, by setting it to ' JS ' or ' CSS '. (highlight.js requires both CSS + JS, so set totrueFor syntax highlighting)

PHP Artisan config:publish Barryvdh/laravel-debugbar








Laravel Debugging Tools

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.