百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
K

kint

> 编程语言
开源

Kint - 高级 PHP 数据提取工具

2.8K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Kint - 高级 PHP 数据提取工具

Kint - Advanced PHP dumper

What am I looking at?

Kint is a dumper in the vein of var_dump(), with keyboard controls, search, access path provision, and automatic data parsing.

In other words, when you dump a JSON string Kint will let you unfold and search the JSON structure and even provide you the code you need to access specific fields.

Installation

composer require kint-php/kint --dev

Without composer

Download the file and simply

require 'kint.phar';

Usage

<?php

Kint::dump($GLOBALS, $_SERVER); // pass any number of parameters
d($GLOBALS, $_SERVER); // or simply use d() as a shorthand

Kint::trace(); // Debug backtrace

s($GLOBALS); // Basic output mode

+d($GLOBALS); // No depth limit

Kint::$enabled_mode = false; // Disable kint
d('Get off my lawn!'); // Debugs no longer have any effect

You can set Kint\Renderer\AbstractRenderer::$js_nonce and $css_nonce to have Kint work with CSP

There's a small demo and full documentation on the GH pages site

Authors

Jonathan Vollebregt (jnvsor)
Contributors

License

Licensed under the MIT License

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

PHPdebugdevdeveloper-toolskint

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言