processwire icon indicating copy to clipboard operation
processwire copied to clipboard

Allow setting vendor/ location from an ENV variable

Open netcarver opened this issue 9 months ago • 1 comments

Defaults to existing vendor/ location, but allows this to be overridden by reading the PW_VENDOR_PATH environment variable.

For example, setting PW_VENDOR_PATH to ../vendor/ allows composer to install code outside the site root.

See

  • https://processwire.dev/integrate-composer-with-processwire/

netcarver avatar May 09 '24 19:05 netcarver

@netcarver is on fire :) Thx for all your contributions!!

BernhardBaumrock avatar May 09 '24 20:05 BernhardBaumrock