Created
January 6, 2015 15:42
-
-
Save mockiemockiz/3af8ddc223ae79da3154 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $latestInstalled = '0.0.1'; | |
| $url = 'https://raw.githubusercontent.com/mockiemockiz/MockBlogBundle/master/composer.json'; | |
| $json = json_decode(file_get_contents($url)); | |
| if($json->version != $latestInstalled) { | |
| /** | |
| * download zip file version https://github.com/mockiemockiz/MockBlogBundle/archive/master.zip | |
| * run installer script | |
| */ | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment