该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

PCo Kint

描述

PCo-Kint is a simple WordPress plugin wrapper for kint, a pretty replacement for var_dump(), print_r() and debug_backtrace(). Kint is also a great replacement to Krumo!

Simply use the d() function to output your objects or arrays, or use ddd() if you want to terminate the current script.

A great alternative to echo'<pre>';var_dump($var);die;!

A full list of features can be found on the project page:

http://raveren.github.io/kint/

Contribute to this project on github or find all of our favorite and custom made plugins

屏幕截图

  • A simple output of d( $_SERVER )
  • Some variable content types have an alternative display - for example you will be able see JSON in its raw form - but also as an associative array
  • CLI is detected and formatted for automatically, the output is colored too

安装

  1. Add the plugin by either downloading the folder and uploading it to the wp-content/plugins directory or install it from the Control Panel using Plugins->Add New.
  2. Activate PCo Kint from the Plugins menu using Plugins->Installed Plugins.
  3. Use d( array() ) to ensure that the plugin is working.

评价

2016 年 9 月 3 日 1 回复
Thank you for great work! I wanted to develop something like that, but you were ahead. I like your plugin and all my colleagues use it after my advice. They like it too!
阅读所有1条评价

贡献者及开发者

“PCo Kint” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“PCo Kint”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

https://github.com/raveren/kint/releases