Skip to content

Cyberrebell/php-minify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-minify

glue and minify css and js using only php stdlib

configuration example:

minify.config.php

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:

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

use PhpMinify\Launcher\MinifyLauncher;

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

About

glue and minify css and js using php stdlib

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages