Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Big-Shark opened this issue May 6, 2019 · 2 comments

Comments

@Big-Shark
Copy link

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
Copy link
Owner

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants