I am building a self hosted PHP application and I want to have a remote update system that will work like WordPress. So, when the user logs in, if there is an available update, he will see the update button and once clicked, the application will be updated. I searched Google but couldn't find anything to start with. If you have any ideas or resources about this, can you please share here?