irazasyed / php-transmission-sdk

🔄 PHP Transmission-RPC API SDK with Laravel Support.
MIT License
23 stars 9 forks source link

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

Open Big-Shark opened 5 years ago

Big-Shark commented 5 years ago

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/

irazasyed commented 5 years ago

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 commented 5 years ago

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.