<p>Can you update your <code>composer.json</code> to require <code>"vlucas/phpdotenv": "^3.4.0"</code> and run <code>composer update</code> again.</p>

CC BY-SA 4.0
2019-08-23T10:59:28.310Z
2019-08-23T10:59:28.310Z
Oli
<p>When I update any plugins ( and I mean any not specific) the vendor package vlucas (Php DotEnv) is removed and the site subsequently breaks complaining it cannot find the DOT env file. Manual update via composer update doesn't work/resolve</p>

<p>It seems the only remedy for this is to manually add from production site the vlucas package and the vendor/composer package</p>

<p>Is there something broken in these packages? </p>

<updating><composer>
Update issues on local laravel valet
# Update issues on local laravel valet

(Asked by: username_0 on 2019-08-22)

When I update any plugins ( and I mean any not specific) the vendor package vlucas (Php DotEnv) is removed and the site subsequently breaks complaining it cannot find the DOT env file. Manual update via composer update doesn't work/resolve

It seems the only remedy for this is to manually add from production site the vlucas package and the vendor/composer package

Is there something broken in these packages?

**Tags:** updating, composer

---

## 1 answers

### Answer by username_1 on 2019-08-23. Score: 1

Can you update your `composer.json` to require `"vlucas/phpdotenv": "^3.4.0"` and run `composer update` again.


---

