I'm trying to include class library to controller but when I run the page I've got
production.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Class 'MyClass' not found'...
I have added this class to app/libraries and in composer.json
added this
"app/libraries",
Also I have tried to add it in global.php
app_path().'/libraries',
and still got this message. Any ideas and solutions on this?