Latest commit b4f2fd7 Mar 9, 2012 Jim updated spark info file

CodeIgniter GitHub Updater

This library is meant to handle updates to remote CodeIgniter instances. These updates are tied to a GitHub repository. Any time the repository is updated you can run the update command of this library to have your CodeIgniter files updated to the current version of the repository.

For more information check out my blog.

You can also see the test repo I use for performing remote updates.

Pay close attention to the welcome controller and the github_updater config file.

The ideal application would have several separate instances hosted by different parties like a CMS. Using this library you can create an upgrade script that will occasionally check if there is a new version available and perform updates when there is. That way users will never need to FTP updated files to their servers in order to stay up with the current version of your CI app.


Copy the files under your application directory.

Edit the github_updater.php config file.

Then load the library like this:


$success = $this->github_updater->update();


This library is licensed under the MIT license.