2017 © Pedro Peláez
 

library vendor-plugin-helper

Assists with linking vendor modules to the public webroot

image

silverstripe/vendor-plugin-helper

Assists with linking vendor modules to the public webroot

  • Tuesday, September 26, 2017
  • by robbieaverill
  • Repository
  • 2 Watchers
  • 2 Stars
  • 2,487 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 3 Open issues
  • 2 Versions
  • 29 % Grown

The README.md

SilverStripe Vendor Plugin Helper Utility

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., (*1)

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., (*2)

See information on this plugin at the vendor-plugin github page, (*3)

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., (*4)

  • vendor-plugin-helper copy /path/to/www
  • vendor-plugin-helper link /path/to/www

Optional args:, (*5)

  • --target Top level folder to link resources to. Defaults to resources

The Versions

26/09 2017

dev-master

9999999-dev

Assists with linking vendor modules to the public webroot

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

26/09 2017

1.0.0

1.0.0.0

Assists with linking vendor modules to the public webroot

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires