2017 © Pedro PelĂĄez
 

composer-plugin web-asset-installer

Web Asset Installer Plugin

image

bitexpert/web-asset-installer

Web Asset Installer Plugin

  • Thursday, July 14, 2016
  • by shochdoerfer
  • Repository
  • 9 Watchers
  • 1 Stars
  • 4,856 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 9 Versions
  • 3 % Grown

The README.md

README

What is the Webasset Installer?

The WebAsset Installer is a custom installer for Composer. To read more about custom Installers in Composer feel free to read the documentation: http://getcomposer.org/doc/articles/custom-installers.md, (*1)

Wrap-up: The WebAsset installer will install Composer packages with the type of "webasset" in an webroot folder not in the vendor directory., (*2)

How to use it?, (*3)

The composer.json of your webassets package needs to look like this: The package needs to be of type "webasset" and needs to define a target-dir in the extra`s configuration. The target-dir defines the relative path beneath the webroot folder where the webassets get installed., (*4)

{
    "name": "vendor/mywebpackage",
    "type": "webasset",
    "require": {
        "bitexpert/web-asset-installer": "*"
    },
    "extra": {
        "target-dir": "mywebpackage/"
    }
}

The composer.json of your root project looks like this:, (*5)

{
    "name": "my/mywebproject",
    "require": {
        "vendor/mywebpackage": "*"
    }
}

To change the base folder in which the webassets get installed simply add the "webasset-basedir" extra param to your root package composer.json file:, (*6)

{
    "name": "my/mywebproject",
    "require": {
        "vendor/mywebpackage": "*"
    },
    "extra": {
        "webasset-basedir": "htdocs/"
    }
}

The Versions

14/07 2016

dev-release/r0.3.0

dev-release/r0.3.0 https://github.com/bitExpert/composer-webasset-installer

Web Asset Installer Plugin

  Sources   Download

Apache-2.0

The Requires

  • composer-plugin-api ^1.0

 

The Development Requires

composer installer assets web

14/07 2016

0.3.3

0.3.3.0 https://github.com/bitExpert/composer-webasset-installer

Web Asset Installer Plugin

  Sources   Download

Apache-2.0

The Requires

  • composer-plugin-api ^1.0

 

The Development Requires

composer installer assets web

14/07 2016

dev-master

9999999-dev https://github.com/bitExpert/composer-webasset-installer

Web Asset Installer Plugin

  Sources   Download

Apache-2.0

The Requires

  • composer-plugin-api ^1.0.0

 

The Development Requires

composer installer assets web

11/09 2013

0.3.2

0.3.2.0 https://github.com/bitExpert/composer-webasset-installer

Web Asset Installer Plugin

  Sources   Download

Apache 2.0

The Requires

  • composer-plugin-api 1.0.0

 

The Development Requires

composer installer assets web

11/09 2013

0.3.1

0.3.1.0 https://github.com/bitExpert/composer-webasset-installer

Web Asset Installer Plugin

  Sources   Download

Apache 2.0

The Requires

  • composer-plugin-api 1.0.0

 

The Development Requires

composer installer assets web

11/09 2013

0.3.0

0.3.0.0 https://github.com/bitExpert/composer-webasset-installer

Web Asset Installer Plugin

  Sources   Download

Apache 2.0

The Requires

  • composer-plugin-api 1.0.0

 

The Development Requires

composer installer assets web

13/04 2013

dev-release/r0.2.0

dev-release/r0.2.0 https://github.com/bitExpert/composer-webasset-installer

Web Asset Installer

  Sources   Download

Apache 2.0

The Development Requires

composer installer assets web

13/04 2013

0.2.1

0.2.1.0 https://github.com/bitExpert/composer-webasset-installer

Web Asset Installer

  Sources   Download

Apache 2.0

The Development Requires

composer installer assets web

13/04 2013

0.2.0

0.2.0.0 https://github.com/bitExpert/composer-webasset-installer

Web Asset Installer

  Sources   Download

Apache 2.0

The Development Requires

composer installer assets web