Laravel5.1 An error occurred while installing laravel-debugbar.

Source: Internet
Author: User
Set {code...} In composer ...} configapp. in php, providers set {code ...} then, the homepage is blank and no error is reported. If a Provider you write has a problem, no errors are reported.

"require": {        "php": ">=5.5.9",        "laravel/framework": "5.1.*",        "barryvdh/laravel-ide-helper":"^2.1",        "barryvdh/laravel-debugbar": "^2.1"    },

Providers settings in config/app. php

/**Third-party  Service Providers*/Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,Barryvdh\Debugbar\ServiceProvider::class,

The homepage is blank and no error is reported.

If the problem is found, a Provider written by myself may not report an error.

Reply content:

Set in composer

"require": {        "php": ">=5.5.9",        "laravel/framework": "5.1.*",        "barryvdh/laravel-ide-helper":"^2.1",        "barryvdh/laravel-debugbar": "^2.1"    },

Providers settings in config/app. php

/**Third-party  Service Providers*/Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,Barryvdh\Debugbar\ServiceProvider::class,

The homepage is blank and no error is reported.

If the problem is found, a Provider written by myself may not report an error.

If the installation is completely new, first check whether the storage directory has the write permission?

In other words, the alias behind the provider is dry. Generally, two installation packages need to be modified.::classWhat is the difference?

Providers add 'barryvdh \ Debugbar \ serviceprovider ',
Aliases plus 'destobar '=> 'barryvdh \ Debugbar \ Facade ',

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.