Skip to content

Use composer to manage third-party plugins #11

@MichelleBlanchette

Description

@MichelleBlanchette

The WordPress Packagist project mirrors the actual WordPress repository to use via Composer: https://wpackagist.org/

Premium plugins typically have a way to be installed/managed via Composer, as well, such as ACF Pro: https://www.advancedcustomfields.com/resources/installing-acf-pro-with-composer/

However, this will cause the GitHub Action for deployments to take longer since all code needs to be resolved and downloaded for each deployment rather than simply already "cached" in the GitHub repo during checkout. This inefficiency could cause this task to not be worth implementing, though #9 could solve this.

Also, it's pretty nice to have committed the changes each plugin made—though not sure how useful or actionable that is. Additionally, we won't have the plugin code saved via GitHub; however, it will obviously be in our filesystem backups to be recoverable so... 🤷

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions