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
其他信息
- 授权协议: LGPL-3.0
- 更新时间: 2015-01-08