Welcome Guest, Not a member yet? Register   Sign In
Something like laravel "dd" function

Kint is packaged along wth CI4 already. It doesn't work in production environment, though, so make sure you switch your environment to development once you download to get access to that, the debug toolbar, and the nice exception screens.

(This post was last modified: 12-19-2016, 05:28 PM by prezire.)

I usually create a helper function like:

PHP Code:
function d($data$exit false)
 echo '<pre>',
 if($exit === true) exit;

But Kint is way much better.
Long live CodeIgniter!

(12-11-2016, 04:00 AM)kenjis Wrote: If you like the output like dd, you can use http://symfony.com/doc/current/component...umper.html with Composer.
Thanks so much for this

See https://codeigniter4.github.io/userguide...ng.html#dd

Theme © iAndrew 2016 - Forum software by © MyBB