2017 © Pedro Peláez
 

library php-minify

glue and minify css and js using php stdlib

image

cyberrebell/php-minify

glue and minify css and js using php stdlib

  • Thursday, September 10, 2015
  • by Cyberrebell
  • Repository
  • 1 Watchers
  • 3 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

php-minify

glue and minify css and js using only php stdlib, (*1)

configuration example:, (*2)

minify.config.php, (*3)

return [
    [
        'glue&minify',
        [
            'styles/css/reset.css',
            'styles/css/style.css',
            'styles/css/plugin/calendar.css'
        ],
        'public/css/app.css'
    ],
    [
        'glue&minify',
        [
            'js/jquery.js',
            'js/tracking.js',
            'js/helper.js'
        ],
        'public/js/app.js'
    ]
];

usage:, (*4)

<?php
include 'vendor/autoload.php';

use PhpMinify\Launcher\MinifyLauncher;

$launcher = new MinifyLauncher(include 'minify.config.php');
$launcher->run();

The Versions

10/09 2015

dev-master

9999999-dev

glue and minify css and js using php stdlib

  Sources   Download

LGPL-3.0

The Requires

  • php >=5.6.12

 

by Avatar Cyberrebell

css php js minify glue