Install premium plugin via composer

Home Forums Ticket Products Event Tickets Plus Install premium plugin via composer

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1627227
    sdewijs
    Participant

    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?

    #1627926
    Cliff
    Member

    Hi. Please give https://gist.github.com/cliffordp/eba3c5ab8207381d88124f55418ca524 a look (replace events-calendar-pro with event-tickets-plus) and let me know if you have any follow-up questions on this topic.

    #1627965
    sdewijs
    Participant

    Exactly what I was looking for thanks!

    #1629395
    Cliff
    Member

    Glad to hear and thanks for letting us know.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Install premium plugin via composer’ is closed to new replies.