kint

Kint - a powerful and modern PHP debugging tool.

MIT License

Downloads
13.5M
Stars
2.7K
Committers
27
kint - 5.1.1 Latest Release

Published by jnvsor 6 months ago

Fix #412 suppressed warnings being raised to TypeError with strict_types

kint - 5.1.0

Published by jnvsor 11 months ago

  • Supports 8.3
  • New theme aante-dark based on aante-light by @LoranRendel
  • RichRenderer::$timestamp and TextRenderer::$timestamp can now be provided a date() compliant string to place in the dump footer
kint - 5.0.7

Published by jnvsor over 1 year ago

kint - 5.0.6

Published by jnvsor over 1 year ago

kint - 5.0.1

Published by jnvsor almost 2 years ago

kint - 5.0

Published by jnvsor almost 2 years ago

Kint 5 supports PHP 7.1 and above

  • Added spl_object_id support for PHP 7.2 and above. This displays in the same way as var_dump, symfony/dump, and xdebug's var_dump
  • Support displaying readonly modifier on properties
  • Supports visibility modifiers on class constants
  • Several callfinder fixes and tests for PHP8+ features (First class callables, DNF types)
  • Bugfixes:
    • SerializePlugin: Behaved very erratically before
    • Shows uninitialized private parent properties
    • Various others (See git log)
  • Added typehints wherever possible. Static analysis with psalm showed room for improvement, leading to several new interfaces made to ensure consistent constructors for static calls to eg. createFromStatics()
kint - 4.2.0

Published by jnvsor about 2 years ago

Since 4.1

  • Various bugfixes
  • CSP support
  • Enum support
kint - 4.1.3

Published by jnvsor over 2 years ago

kint - 4.1.1

Published by jnvsor almost 3 years ago

Fix #379 Undefined constant in PHP development server

kint - 4.1

Published by jnvsor almost 3 years ago

  • Supports setting nonce attributes on script and style tags for CSP through Kint\Renderer\RichRenderer::$js_nonce and Kint\Renderer\RichRenderer::$css_nonce
  • Detects VT100 support on windows CLI to enable UTF8 and color support. Older windows versions or versions below PHP 7.2 have been changed to plain ASCII decorations since the original hasn't been working well for a while
kint - 4.0

Published by jnvsor almost 3 years ago

  • The folder is now off by default and can be enabled via the existing setting
  • Much improved search functionality
  • The PSR-11 service container is shallow-blacklisted by default. This will vastly improve performance on most frameworks such as symfony & laravel by stopping recursive parsing at the DI container unless you dump it explicitly
  • TracePlugin now supports blacklisting stack frames from paths, such as your /vendor/ folder
  • Numeric arrays with more than 1000 items in them will only dump the first 50 recursively. You can disable or configure this with ArrayLimitPlugin
  • Supports PHP 8.1
  • Lots of little stuff

Breaking changes

  • Minimum supported PHP version is now 5.6
  • Kint::$max_depth has been renamed Kint::$depth_limit to match internals
  • Kint\Renderer\RichRenderer::$object_plugins has been renamed $value_plugins
  • The Object namespace has been renamed Zval - So certain class statics will have been renamed (eg. Kint\Object\BlobObject::$char_encodings to Kint\Zval\BlobValue::$char_encodings)
  • d(1) special case has been removed (Didn't work in edge cases) Call Kint::trace() instead
  • For plugin development there have been a lot of internal changes
    • The whole Object namespace has been renamed Zval in anticipation of naming conflicts
    • parseDeep has been removed
kint - 3.3

Published by jnvsor almost 5 years ago

  • Fixes for PHP 7.4
  • Namespaced functions will now be normalized correctly
  • Colors are automatically disabled in windows in CliRenderer
  • If (for some reason) you have neither iconv nor mbstring available, Kint will just assume ASCII and hope for the best
  • Event handlers for click/keypress are now registered as capture so other events on the page won't override them

I will be starting work on a new major version next. 3.x support will continue for bugfixes

kint - 3.2.2

Published by jnvsor over 5 years ago

  • Checks if the previous style and script tags still exist when deduplicating ajax calls in case the originals have been removed
kint - 3.2.1

Published by jnvsor over 5 years ago

  • FsPathPlugin now works for windows paths too
  • ToStringPlugin is now opt-in because of misbehaving third party libraries that cause fatal errors in it
  • Fixed search when folder is disabled
kint - 3.2

Published by jnvsor over 5 years ago

  • Callfinder now supports calling kint with a trailing comma in PHP 7.3
  • Callfinder now supports expression detection with PHP 7.4's upcoming ??= operator
  • MysqliPlugin: Fixed some connection failure edge cases that would produce warnings
  • Rich SourcePlugin: Line numbers are back, and paste accuracy bugs are fixed
  • Added a test shim to allow testing on PHP 7.4/8+
  • Removed ruby dependency for sass formatting/compilation
kint - 3.1

Published by jnvsor over 5 years ago

  • Fix folders to work when loaded with ajax
  • RichRenderer: Allow dumps to be put into the folder individually
  • export-ignore phar file for sensitive IDEs
  • Added MysqliPlugin (Opt-in)
kint - 3.0

Published by jnvsor about 6 years ago

We're here!

Kint 3 bumps the minimum requirement up to PHP 5.3, comes separately in a phar file, and now uses namespaces.

The facade has been heavily rewritten to make it easier to reuse instances of Kint for performance.

kint-php/kint-js and kint-php/kint-twig have been updated to match Kint 3, with kint-twig making heavy use of the new facade features

The rich renderer now sends dumps to a folder docket at the bottom of your browser by default. You can turn this off with Kint\Renderer\RichRenderer::$folder = false if needed

kint - 3.0 alpha 2

Published by jnvsor over 6 years ago

  • Adds a JS search button
  • Fixes some IE quirks
kint - 3.0-alpha1

Published by jnvsor over 6 years ago

The first tag of the new major version. This drops support for PHP 5.1/5.2, but improves code quality all around. A more or less full list of changes is available in issue #260

kint - 2.2

Published by jnvsor about 7 years ago

  • Bugfixes
  • Added special access paths for some magic methods
  • Sort methods by line number after hierarchy
  • Sort properties with strnatcasecmp instead of strcmp
  • Added blacklist to ToString plugin, add SimpleXMLElement by default
  • Removed the value representation from unknown types
  • Removed object property reflection
  • Made some parser plugins opt-in:
    • Binary
    • Serialize
    • DOMNode/DOMIterator
  • Renderers can now alter parser plugins before parsing
    • The text-based renderers now disable all the plugins they don't use ahead of time
  • Added special access paths for more magic methods like __toString
  • Dropped automated testing of PHP 5.2
    • 5.2 will be dropped when TravisCI drops it in april
    • 5.1 and 5.2 are still technically supported, but since (hopefully) no-one uses those any huge bugs will be fixed on an as-reported basis.
  • Added Kint::dumpArray to allow you to supply your own object seeds (Names and access paths) along with an array of data. Useful for integrating with other systems.
    • This allows correct access paths for Kint::trace()