extending aimeos-laravel

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
godadada@yahoo.com
Posts: 56
Joined: 15 Mar 2021, 01:03

extending aimeos-laravel

Post by godadada@yahoo.com » 23 Jan 2022, 01:38

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,

User avatar
aimeos
Administrator
Posts: 7889
Joined: 01 Jan 1970, 00:00

Re: extending aimeos-laravel

Post by aimeos » 24 Jan 2022, 14:19

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.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply