Answers.Body: <p>This is the way Heroku works with its <a href="https://devcenter.heroku.com/articles/dynos#isolation-and-security" rel="nofollow noreferrer">ephemeral file system</a>. Anything written by the webapp (which includes plugins installed via Composer) after the fact can be wiped out at any time.</p>
  
  <p>If you must ship it on Heroku, you probably should check all of <code>vendor/</code> into the repo, so that it's part of the actual deployment, and not added post facto.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-08T18:05:22.677Z
Answers.LastActivityDate: 2018-04-08T18:05:22.677Z
Answers.UserDisplayName: andrew.welch
Body: <p>I'm using Heroku and every time I push changes to Heroku, the plugins installed from the plugin store get removed. Do I need to add them to my composer file manually?</p>
  
Tags: <plugins><heroku>
Title: Plugins get removed after publishing to Heroku
ThreadText: # Plugins get removed after publishing to Heroku
  
  (Asked by: username_0 on 2018-04-08)
  
  I'm using Heroku and every time I push changes to Heroku, the plugins installed from the plugin store get removed. Do I need to add them to my composer file manually?
  
  **Tags:** plugins, heroku
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-04-08. Score: 2
  
  This is the way Heroku works with its [ephemeral file system](https://devcenter.heroku.com/articles/dynos#isolation-and-security). Anything written by the webapp (which includes plugins installed via Composer) after the fact can be wiped out at any time.
  
  If you must ship it on Heroku, you probably should check all of `vendor/` into the repo, so that it's part of the actual deployment, and not added post facto.
  
  
  ---
  
  