kint-php/kint 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kint-php/kint

最新稳定版本:6.1.0

Composer 安装命令:

composer require kint-php/kint

包简介

Kint - Advanced PHP dumper

关键字:

README 文档

README

Screenshot

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

统计信息

  • 总下载量: 18.29M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2858
  • 点击次数: 1
  • 依赖项目数: 348
  • 推荐数: 6

GitHub 信息

  • Stars: 2822
  • Watchers: 104
  • Forks: 290
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04