Laravel 4:分析器在哪里?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/14299769/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 07:29:26  来源:igfitidea点击:

Laravel 4: where's the profiler?

laravellaravel-4

提问by duality_

I used to be able to enable the profiler using the profilerproperty in /application/config/application.php.

我曾经是能够使使用探查profiler财产/application/config/application.php

It's no longer there. How can I enable it?

它已经不在了。我怎样才能启用它?

回答by PhilMarc

Probably the most complete profilerpackage as of december 2013 :

可能是截至 2013 年 12 月最完整的分析器包:

Laravel Debugbar: https://github.com/barryvdh/laravel-debugbar

Laravel 调试栏https: //github.com/barryvdh/laravel-debugbar

回答by Cody Covey

It isn't there anymore, although I have heard rumors that DayleRees may be trying to implement it again.

它不再存在,尽管我听说 DayleRees 可能会尝试再次实施它的传言。

回答by Barryvdh

Here is a profiler based on the old profiler: https://packagist.org/packages/loic-sharma/profiler

这是一个基于旧分析器的分析器:https: //packagist.org/packages/loic-sharma/profiler

回答by carbontwelve

In addition to Barry's suggestion of ioic-sharma/profiler there is an alternative written by juy which has a few more (in my opinion, after using both) useful features available for composer install here https://github.com/juy/profiler

除了 Barry 对 ioic-sharma/profiler 的建议之外,还有一个由 juy 编写的替代方案,它还有一些(在我看来,在使用了这两个之后)可用于 Composer 安装的有用功能https://github.com/juy/profiler

edit: 19th Jan 2014: Seeing as the alternative I mentioned above is now in a perpetual state of abandonment, I would recommend the debug bar by barryvdh as found here: https://github.com/barryvdh/laravel-debugbarits the one we in the office use in production.

编辑:2014 年 1 月 19 日:鉴于我上面提到的替代方案现在处于永久放弃状态,我会推荐 barryvdh 的调试栏,如下所示:https: //github.com/barryvdh/laravel-debugbar它是一个我们在办公室生产中使用。