You would probably need an artisan command that in turn fires a composer update. A bit dangerous though. How about a separate script that is not part of the framework and has no dependencies on it (ie, its not going to get the rug pulled from under it).
Nov 11, 2015
5
Level 1
Updating a Laravel 5.x Application after Deployment
Say I have a Laravel 5 application that I have deployed and distributed to my users. They can install locally so maintenance mode is not much help to me. How could I apply a Wordpress or October CMS style update to apply bug fixes or updates? I'd like to be able to do this in as simple a way as possible for the user. They are simply notified an update is available, click a button, and the update is applied.
Is there a way to sync with github somehow? Or maybe apply a script?
I'm not too experienced with deployment so I hope these questions are possible and make sense.
Please or to participate in this conversation.