How to disable Kint in local environment under Laravel 4
问题 I'm using Kint via Composer in Laravel 4 by loading kint first in composer.json so that dd() is defined by kint, not laravel (suggested here). I want to leave debug calls in my app, and disable Kint if not in the local environment. I'm successfully using config overrides for Anvard using the following structure: /app/config/local/packages/provider/package_name/overridefile.php Unfortunately, this is not working for Kint with the following structure: /app/config/packages/raveren/kint/local