定制 markstory/asset_compress 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

markstory/asset_compress

最新稳定版本:5.0.3

Composer 安装命令:

composer require markstory/asset_compress

包简介

An asset compression plugin for CakePHP. Provides file concatenation and a flexible filter system for preprocessing and minification.

README 文档

README

Build Status codecov.io Total Downloads License

Asset Compress is CakePHP plugin for helping reduce the number of requests, and optimizing the remaining requests your application makes for Javascript and CSS files.

Features

  • Development mode builder that rebuilds assets on each request.
  • Command line build tool to compile static assets for deployment.
  • Built-in support for LESScss, Sass and CoffeeScript, as well as several minifiers.
  • Powerful and flexible filter system allowing you to add your own minifiers/pre-processors.
  • Simple configuration file.
  • Incremental builds that don't recompile assets when they don't need to be.

Installing

Add this plugin to your application with composer:

php composer.phar require markstory/asset_compress

Then make sure you load the plugin:

// in src/Application.php
// in the bootstrap() method add
$this->addPlugin('AssetCompress');

Copy the config/asset_compress.sample.ini from the plugin to your app's config/asset_compress.ini. From there read the wiki for more information.

Documentation

Documentation for AssetCompress is available on the github wiki pages

Issues

Please report any issues you have with the plugin to the issue tracker on github.

License

Asset Compress is offered under an MIT license.

Authors

See the github contributors list

Changelog

See CHANGELOG for changes only available on master. See github releases for changelogs on previous releases.

统计信息

  • 总下载量: 995.34k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 376
  • 点击次数: 1
  • 依赖项目数: 11
  • 推荐数: 53

GitHub 信息

  • Stars: 370
  • Watchers: 28
  • Forks: 125
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-03-20