Skip to content
This repository was archived by the owner on Dec 20, 2021. It is now read-only.
kint-phpPublic archive

About

Kint plugin for Smarty integration

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Kint-Smarty

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

About

Kint plugin for Smarty integration

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages