Will update server files based on commits to github
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


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.