silverstripe / vendor-plugin-helper
Assists with linking vendor modules to the public webroot
Installs: 8 929
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 8
Forks: 1
Open Issues: 4
pkg:composer/silverstripe/vendor-plugin-helper
Requires
- composer/composer: ^1.5
- silverstripe/vendor-plugin: ^1.0
- symfony/console: ^3.3
Requires (Dev)
- phpunit/phpunit: ^5.7
This package is auto-updated.
Last update: 2025-09-29 02:06:30 UTC
README
When installing SilverStripe modules in the vendor directory it may also be necessary to ensure certain module assets are exposed to the webroot, as the 'vendor' url prefix is blocked from web-access by default.
See also: Vendor plugin
This utility allows setup of these paths if the vendor-plugin is disabled through
the use of --no-plugins in install.
See information on this plugin at the vendor-plugin github page
Installation
composer global require silverstripe/vendor-plugin-helper
echo 'export PATH=$PATH:~/.composer/vendor/bin/' >> ~/.bash_profile
Commands
Both commands are similar: One will symlink vendor modules, the other will copy resources.
The root directory used as the public webroot is resources by default.
vendor-plugin-helper copy /path/to/wwwvendor-plugin-helper link /path/to/www
Optional args:
--targetTop level folder to link resources to. Defaults toresources