Page 1 of 1

extending aimeos-laravel

Posted: 23 Jan 2022, 01:38
by godadada@yahoo.com
Greetings,

I am trying to extend vendor/aimeos/aimeos-laravel/src/helpers.php, and may mistakenly put the modified file under ext/small-ext/lib/custom/src/. That may not be right location, because it does not seem to pick up the modified file.
Please advice where it should be?

Regards,

Re: extending aimeos-laravel

Posted: 24 Jan 2022, 14:19
by aimeos
If you want to add own helper functions, you should add it in the ./app/ directory of your Laravel application and use e.g. "require 'file.php'" in your AppServiceProvider class.