承接 rtconner/laravel-kint 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

rtconner/laravel-kint

最新稳定版本:3.0.2

Composer 安装命令:

composer require rtconner/laravel-kint

包简介

Seamless integration between Laravel and Kint.

README 文档

README

Laravel License

I love Kint, but it's a little hard to get it to work perfectly within Laravel. This plugin solves that, and adds some new features as well.

Laravel 5 Documentation Laravel 4 Documentation

Installation

Install with composer

composer require rtconner/laravel-kint "~3.0"

Then add this to config/app.php

'providers' => [
	'Conner\Kint\KintServiceProvider',
];

Optionally setup the config/kint.php file

php artisan vendor:publish

Usage

Use Kint as you would normally.

d($var); // debug dump

s($var); // simple print

There is an also an added feature to allow you to easily dump variables from within blade templates. Notice no semi-colon at the end, and must be on their own line of code.

@d($var)

@s($var)

Configure

To enable configuration first create the config/kint.php file in your app.

php artisan vendor:publish

See config/kint.php for configuration options.

See Kint documentation for details on configuration options.

Credits

Copyright 2015 Robert Conner, You may use this code under The MIT License (MIT)

统计信息

  • 总下载量: 57.85k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 44
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 44
  • Watchers: 0
  • Forks: 10
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-02-16