Answers.Body: <p>If you have version 1.2.3 of the plugin installed and you don't want to Composer to update past that version, you'd just modify your <code>composer.json</code> file so it's locked to that exact version.</p>
  
  <pre><code>"require": {
      "plugindeveloper/pluginhandle": "1.2.3"
  }
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-03T01:05:08.217Z
Answers.Text: Thank you! I noticed on some of our Craft installs, when running composer update in ssh, it would automatically update all plugins that had updates available. Some of the installs didn't do this. I'm guessing it's some server feature or composer setting that may be causing this.
Answers.UserDisplayName: Chattervast
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-02T22:04:33.957Z
Answers.LastActivityDate: 2018-11-02T22:04:33.957Z
Answers.UserDisplayName: Brad Bell
Body: <p>I have a plugin installed from a well known Craft developer. I have made significant tweaks and changes to the plugin and need to prevent it from updating. Is there an easy line of code to add to the composer.json file to prevent it from updating? I may have to go the route of breaking it out into our my plugin but for time reasons I am looking for simple ways to prevent updating.</p>
  
Tags: <plugins><composer><auto-updates>
Title: How to Prevent Composer from Updating Plugin?
ThreadText: # How to Prevent Composer from Updating Plugin?
  
  (Asked by: username_0 on 2018-11-02)
  
  I have a plugin installed from a well known Craft developer. I have made significant tweaks and changes to the plugin and need to prevent it from updating. Is there an easy line of code to add to the composer.json file to prevent it from updating? I may have to go the route of breaking it out into our my plugin but for time reasons I am looking for simple ways to prevent updating.
  
  **Tags:** plugins, composer, auto-updates
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-11-02. Score: 2 | Accepted answer
  
  If you have version 1.2.3 of the plugin installed and you don't want to Composer to update past that version, you'd just modify your `composer.json` file so it's locked to that exact version.
  
  ```
  "require": {
      "plugindeveloper/pluginhandle": "1.2.3"
  }
  
  ```
  
  > **Comments:**
  > **username_0**: Thank you! I noticed on some of our Craft installs, when running composer update in ssh, it would automatically update all plugins that had updates available. Some of the installs didn't do this. I'm guessing it's some server feature or composer setting that may be causing this.  
  
  ---
  
  