'danpros/htmly', 'prerelease' => !!config("prerelease"), )); if ($updater->able()) { $info = $updater->getNewestInfo(); echo '

Update Available


'; echo '

'. $info['name'] .'

'; echo '

Version: '. $info['tag_name'] .'

'; echo '
Release Notes
'; echo '
'; echo \Michelf\MarkdownExtra::defaultTransform($info['body']); echo '
'; echo '

Important: Please always backup your files before upgrading to newer version.

'; echo '

Update to ' . $info['tag_name'] . ' now

'; } else { echo '

Congrats! You have the latest version of HTMLy


'; $info = $updater->getCurrentInfo(); echo '

'. $info['name'] .'

'; echo '

Installed Version: '. $info['tag_name'] .'

'; echo '
Release Notes:
'; echo '
'; echo \Michelf\MarkdownExtra::defaultTransform($info['body']); echo '
'; echo '

Read on Github

'; }