Answers.Body: <p>You <em>could</em> go through all of that effort, or you could just wait until the plugin store gets finished and any plugin that is listed in the store will get automatic updating for free nicely integrated into Craft's auto-updating functionality. :)</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-10-21T18:52:48.407Z
Answers.Text: I for one can't wait for the Craft plugin store. I'm all set and ready to go when you guys are! ;)
Answers.UserDisplayName: Justin Kimbrell
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-03T13:41:24.707Z
Answers.Text: It will take some time...
  http://feedback.craftcms.com/forums/285221-feature-requests/suggestions/7194005-official-plugin-store
Answers.UserDisplayName: Diederik
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-10-21T14:52:44.113Z
Answers.LastActivityDate: 2014-10-21T15:00:18.213Z
Answers.LastEditDate: 2014-10-21T15:00:18.213Z
Answers.UserDisplayName: Brad Bell
Body: <p>I’ve been developing my first Craft plugin and I think it would be really cool to be able to offer auto-updating for it, is there a way to hook into the update page you would use to update Craft? or is this something that could happen in the future?</p>
  
  <p>I understand you could probably achieve this manually, I’ve seen a couple of plugins do this but then on later updates some remove this functionality, is this not a good idea to try and do? is it worth looking into how Craft does this in the core files and try to tap into that or would that be a big no no…</p>
  
  <p>The way I was thinking of achieving this manually myself is:</p>
  
  <ul>
  <li>Deploy a base version on my own server</li>
  <li>Create a service that talks(Guzzle?) to the server to check the users version against the server version</li>
  <li>Look into the methods that Craft uses to copy and back up
  files and use those methods to update the plugin if needed</li>
  </ul>
  
  <p>Any pointers or info would be appreciated,</p>
  
  <p>Thanks!</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-10-21T14:54:08.343Z
Comments.Text: That sounds a bit scary personally. As a user, I would probably prefer that plugin developers not attempt this without having a uniform system in place. I currently use .git submodules whenever possible, which essentially does the same anyway.
Comments.UserDisplayName: Douglas McDonald
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-10-21T14:59:46.020Z
Comments.Text: Yeah I see what you mean, as Brad mentioned I think waiting for the plugin store is the best way to go! :)
Comments.UserDisplayName: Alec Ritson
Tags: <plugin-development>
Title: Is is possible to allow auto-updates for a plugin?
ThreadText: # Is is possible to allow auto-updates for a plugin?
  
  (Asked by: username_0 on 2014-10-21)
  
  I’ve been developing my first Craft plugin and I think it would be really cool to be able to offer auto-updating for it, is there a way to hook into the update page you would use to update Craft? or is this something that could happen in the future?
  
  I understand you could probably achieve this manually, I’ve seen a couple of plugins do this but then on later updates some remove this functionality, is this not a good idea to try and do? is it worth looking into how Craft does this in the core files and try to tap into that or would that be a big no no…
  
  The way I was thinking of achieving this manually myself is:
  
  * Deploy a base version on my own server
  * Create a service that talks(Guzzle?) to the server to check the users version against the server version
  * Look into the methods that Craft uses to copy and back up
    files and use those methods to update the plugin if needed
  
  Any pointers or info would be appreciated,
  
  Thanks!
  
  **Tags:** plugin-development
  
  > **Comments:**
  > **username_1**: That sounds a bit scary personally. As a user, I would probably prefer that plugin developers not attempt this without having a uniform system in place. I currently use .git submodules whenever possible, which essentially does the same anyway.  
  > **username_0**: Yeah I see what you mean, as username_2 mentioned I think waiting for the plugin store is the best way to go! :)  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2014-10-21. Score: 4 | Accepted answer
  
  You *could* go through all of that effort, or you could just wait until the plugin store gets finished and any plugin that is listed in the store will get automatic updating for free nicely integrated into Craft's auto-updating functionality. :)
  
  > **Comments:**
  > **username_3**: I for one can't wait for the Craft plugin store. I'm all set and ready to go when you guys are! ;)  
  > **username_4**: It will take some time... http://feedback.craftcms.com/forums/285221-feature-requests/suggestions/7194005-official-plugin-store  
  
  ---
  
  