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

when i just use the "illuminate/support" package, it throw a exception that Class 'PhpOption\Option' not found in /illuminate/support/Env.php file #36316

Closed
jason-liang opened this issue Feb 19, 2021 · 2 comments

Comments

@jason-liang
Copy link

  • Laravel Version: 8.5.10
  • PHP Version: 7.2.0
  • Database Driver & Version:

Description:

when i just use the "illuminate/support" package, it throw a exception that Class 'PhpOption\Option' not found in /illuminate/support/Env.php file, so I watch the composer.json file and i dont find a reqiure that "phpoption/phpoption" in composer.json of "illuminate/support"

Steps To Reproduce:

please write "phpoption/phpoption" package into composer.json of "illuminate/support"

@dinhquochan
Copy link
Contributor

Just use yourself! Env class require vlucas/phpdotenv.

/src/Illuminate/Support/composer.json:49

@driesvints
Copy link
Member

See the answer above. The package is in the suggest list which are optional dependencies you need to install yourself.

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

3 participants