php-transmission-sdk icon indicating copy to clipboard operation
php-transmission-sdk copied to clipboard

Attempted to load class "DotenvFactory" from namespace "Dotenv\Environment".

Open Big-Shark opened this issue 5 years ago • 2 comments

I try to integrate this package in Symfony 4, and I have this problem. You use illuminate/support and this package use DotenvFactory, but does not have it in the required section.

In helpers.php line 646:
                                                                                
  Attempted to load class "DotenvFactory" from namespace "Dotenv\Environment".  
  Did you forget a "use" statement for another namespace?        

P.S. https://mattallan.me/posts/dont-use-illuminate-support/

Big-Shark avatar May 06 '19 09:05 Big-Shark

The package has support for Laravel out of the box. I'm not sure how that would work if I remove the support dependency.

irazasyed avatar May 25 '19 12:05 irazasyed

Actually nevermind, I'll explore alternate ways. We do use some of the helpers from that package. So I'll see if we can adopt another package for that and get rid of this one.

irazasyed avatar May 25 '19 12:05 irazasyed