cyberrebell/php-minify 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

cyberrebell/php-minify

Composer 安装命令:

composer require cyberrebell/php-minify

包简介

glue and minify css and js using php stdlib

README 文档

README

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();

统计信息

  • 总下载量: 8
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0
  • 更新时间: 2015-01-08