https://github.com/kint-php/kint-smarty
Kint plugin for Smarty integration
https://github.com/kint-php/kint-smarty
debug kint php5 smarty
Last synced: 8 months ago
JSON representation
Kint plugin for Smarty integration
- Host: GitHub
- URL: https://github.com/kint-php/kint-smarty
- Owner: kint-php
- License: mit
- Archived: true
- Created: 2019-03-06T13:37:59.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-06T20:37:19.000Z (over 7 years ago)
- Last Synced: 2025-09-10T03:00:03.308Z (9 months ago)
- Topics: debug, kint, php5, smarty
- Language: PHP
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kint-Smarty
Plugin for [Kint](https://github.com/kint-php/kint) to provide better
[Smarty](https://smarty.net) 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](https://raw.githubusercontent.com/kint-php/kint-smarty/master/src/SmartyPlugin.php), include it after
Kint and register it:
```php