Laravel's helper function has if ( ! function_exists('xx')) protection.
Can I specify order of the autoload_files, and let Kint.class.php require before helpers.php?
return array(
$vendorDir . '/laravel/framework/src/Illuminate/Support/helpers.php',
$vendorDir . '/raveren/kint/Kint.class.php',
);
I tested this in several ways, by adding my helpers in autoload as well and still Laravel helpers we loaded first.
So my solution is to include your own helper functions before the vendor autoload.
I did it in
index.phpfile on thepublicfolderinside your helpers file, you can define your helper functions: