Skip to content

Allow installing via Composer#506

Open
kasparsd wants to merge 2 commits into
fairpm:release_1.4.1from
kasparsd:add-composer-support
Open

Allow installing via Composer#506
kasparsd wants to merge 2 commits into
fairpm:release_1.4.1from
kasparsd:add-composer-support

Conversation

@kasparsd
Copy link
Copy Markdown
Contributor

Fixes #505.

Although Composer install is not the primary way of installing this plugin (and it also somewhat contradicts the primary use-case), it would be great to allow this method for testing and automation reasons.

  1. Ensure that both composer.json and composer.lock are included in the GitHub release artifacts.

  2. Load the local vendor/autoload.php only if present.

kasparsd added 2 commits May 22, 2026 21:56
Signed-off-by: Kaspars Dambis <hi@kaspars.net>
Assume that a global autoload is available otherwise (plugin added via composer)

Signed-off-by: Kaspars Dambis <hi@kaspars.net>
@github-actions
Copy link
Copy Markdown
Contributor

@kasparsd kasparsd changed the base branch from main to release_1.4.1 May 22, 2026 22:39
@Ipstenu Ipstenu added this to the 1.4.1 milestone May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐞 Bug Report: Can't install using Composer because of missing composer.json in GitHub tag ZIPs

2 participants