Support the ongoing development of Laravel.io →
posted 5 years ago
Blade
Last updated 2 years ago.
0

Sounds like a name spacing issue. The ImagesHelper class should be in the namespace of App\Helpers and when you use it you should call the fully qualified class name \App\Helpers\ImagesHelper::f_image(); or you should have use App\Helpers\ImagesHelper; at the top of the class you are using it in.

0

Hello and thanks for your feedback. I found the solution - I created an alias of the helper class in the app.php's alias section and it did work.

Last updated 5 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Hrache hrache Joined 25 Oct 2019

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.