2017 © Pedro Peláez
 

package webphpack

simple php alternative to webpack for automatic concatenation of multiple JavaScript and CSS files into single files

image

webdevlabs/webphpack

simple php alternative to webpack for automatic concatenation of multiple JavaScript and CSS files into single files

  • Friday, February 16, 2018
  • by webdevlabs
  • Repository
  • 1 Watchers
  • 5 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 20 % Grown

The README.md

WebPHPack

WebPHPack is a simple php alternative to webpack for automatic concatenation of multiple JavaScript and CSS files into single files.

This library replaces the style/script tags from the input html source code and returns plain html code ready for output. Loading is done asynchronously for both javascript/css., (*1)

Added HTTP2 Push support., (*2)

Usage

$webphpack = new WebPHPack($htmlsource);
$webphpack->caching = true;
$webphpack->httpush = true;
$webphpack->combineJS();
$webphpack->combineCSS();
$webphpack->output();

or nested, (*3)

$webphpack = new WebPHPack($htmlsource);
$newHTMLsource = $webphpack->combineJS()->combineCSS()->output();

The Versions

16/02 2018

dev-master

9999999-dev https://github.com/webdevlabs/webphpack

simple php alternative to webpack for automatic concatenation of multiple JavaScript and CSS files into single files

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

webpack php-library webphpack

16/02 2018

1.2.4

1.2.4.0 https://github.com/webdevlabs/webphpack

simple php alternative to webpack for automatic concatenation of multiple JavaScript and CSS files into single files

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

webpack php-library webphpack

16/02 2018

1.2.3

1.2.3.0 https://github.com/webdevlabs/webphpack

simple php alternative to webpack for automatic concatenation of multiple JavaScript and CSS files into single files

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

webpack php-library webphpack

12/09 2017

0.0.2

0.0.2.0 https://github.com/webdevlabs/webphpack

simple php alternative to webpack for automatic concatenation of multiple JavaScript and CSS files into single files

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

webpack php-library webphpack