I am working on my first Laravel project, and so far everything worked fine but now I need to use in my controller a PHP extension, this one: https://github.com/cyjoelchen/php-sweph.
I installed this extension successfully on my development machine, I can see that it was enabled when running phpinfo()
, and I can use its functions when running a PHP script on the command line. So it is available, and it works. But I cannot use it in my Laravel controller, no matter what I try, it is 'not found'. I suspect I should register with the Laravel app somehow, but how? And how do I refer to it in my controller then?