Currently I’m working on a new website for a client. The old website has the Events Tickets Plus installed in the traditional manner, uploaded via the WP backend in the plugins section. The new site will manage all plugins and other PHP packages via composer/wpackagist.
The solution for most premium packages is to make a private GIT repo and add the premium plugin there, and add this GIT repo to the composer package. When there is an update I would then first update the plugin in my local repo, push the changes to the private git repo, tag a version, run composer update on the development server, push the updated composer.lock to the live server and run composer install.
It would be convenient however if there was a way to update the plugin directly via composer. So basically is there a way to install the latest version of the premium package via composer and of course validate the licence in the process?