此包已被弃用且不再维护。未建议替代包。
此包的最新版本(1.0.10)没有可用的许可证信息。

Kint调试器为WordPress - 一款强大且现代化的PHP调试工具。

安装次数: 2,905

依赖者: 0

建议者: 0

安全: 0

星标: 3

关注者: 4

分支: 0

开放问题: 0

类型:wordpress-plugin

1.0.10 2015-10-12 22:30 UTC

This package is not auto-updated.

Last update: 2019-01-18 20:03:23 UTC


README

=== PCo Kint ===
Contributors: PeytzCo, Compute
Tags: debug, kint, krumo, print_r, var_dump
Requires at least: 3.5
Tested up to: 4.3
Stable tag: 1.0.10
License: GPLv2 or later
License URI: https://gnu.ac.cn/licenses/gpl-2.0.html

Kint debugger for WordPress - a powerful and modern PHP debugging tool.

== Description ==

PCo-Kint is a simple WordPress plugin wrapper for [kint](https://github.com/raveren/kint/), a pretty replacement for [var_dump()](https://php.ac.cn/manual/en/function.var-dump.php), [print_r()](https://php.ac.cn/manual/en/function.print-r.php]) and [debug_backtrace()](https://php.ac.cn/manual/en/function.debug-backtrace.php]). 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](https://github.com/Peytz-WordPress/pco-kint) on [github](https://github.com/Peytz-WordPress) or find [all of our favorite and custom made plugins](http://profiles.wordpress.org/peytzco/)

== Installation ==

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.
1. Activate PCo Kint from the Plugins menu using Plugins->Installed Plugins.
1. Use `d( array() )` to ensure that the plugin is working.

== Screenshots ==

1. A simple output of `d( $_SERVER )`
2. 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
3. CLI is detected and formatted for automatically, the output is colored too

== Changelog ==

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