• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Something like laravel "dd" function

#11
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.
Practical CodeIgniter 3  • CodeIgniter 4 Foundations - Coming Soon • Vulcan - CLI Tools for CI4
Reply

#12
I usually create a helper function like:

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


But Kint is way much better.
Long live CodeIgniter!
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2017 MyBB Group.