kint-php/kint-smarty

This package is abandoned and no longer maintained. The author suggests using the php-sage/sage package instead.

Kint plugin for Smarty integration

Maintainers

Package info

github.com/kint-php/kint-smarty

pkg:composer/kint-php/kint-smarty

Statistics

Installs: 319

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0 2019-03-06 20:36 UTC

This package is auto-updated.

Last update: 2022-01-05 16:23:35 UTC


README

Plugin for Kint to provide better Smarty support.

Internal Smarty objects are so big they sometimes hang the browser when dumped. This plugin sanitizes the display and only displays minimal, useful data:

  • Assigned variables (local and global)
  • User-configurable values such as compiled directory and custom functions.

Usage

Zero setup; install via composer:

composer require kint-php/kint-smarty --dev

or download the file, include it after Kint and register it:

<?php

require 'kint.phar';
require 'SmartyPlugin.php';
Kint::$plugins[] = 'Kint\\Parser\\SmartyPlugin';

Licence

MIT