Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/markstory/asset_compress
An asset compression plugin for CakePHP. Provides file concatenation and a flexible filter system for preprocessing and minification.
https://github.com/markstory/asset_compress
asset-pipeline cakephp cakephp-plugin php
Last synced: 10 days ago
JSON representation
An asset compression plugin for CakePHP. Provides file concatenation and a flexible filter system for preprocessing and minification.
- Host: GitHub
- URL: https://github.com/markstory/asset_compress
- Owner: markstory
- License: mit
- Created: 2010-03-09T04:19:47.000Z (over 14 years ago)
- Default Branch: 5.x
- Last Pushed: 2024-07-26T12:30:15.000Z (4 months ago)
- Last Synced: 2024-10-14T10:31:46.871Z (26 days ago)
- Topics: asset-pipeline, cakephp, cakephp-plugin, php
- Language: PHP
- Homepage:
- Size: 1.12 MB
- Stars: 370
- Watchers: 30
- Forks: 125
- Open Issues: 30
-
Metadata Files:
- Readme: README.mdown
- Changelog: CHANGELOG.txt
- License: LICENSE
Awesome Lists containing this project
- awesome-cakephp - AssetCompress plugin - A complete asset manager for CakePHP. (Asset Management)
README
# Asset Compress
[![Build Status](https://travis-ci.org/markstory/asset_compress.svg?branch=master)](https://travis-ci.org/markstory/asset_compress)
[![codecov.io](https://codecov.io/github/markstory/asset_compress/coverage.svg?branch=master)](https://codecov.io/github/markstory/asset_compress?branch=master)
[![Total Downloads](https://img.shields.io/packagist/dt/markstory/asset_compress.svg?style=flat-square)](https://packagist.org/packages/markstory/asset_compress)
[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](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](http://github.com/markstory/asset_compress/wiki)
for more information.## Documentation
Documentation for AssetCompress is available on the [github wiki pages](http://github.com/markstory/asset_compress/wiki)
## Issues
Please report any issues you have with the plugin to the [issue tracker](http://github.com/markstory/asset_compress/issues) on github.
## License
Asset Compress is offered under an [MIT license](http://www.opensource.org/licenses/mit-license.php).
### Authors
See the [github contributors list](https://github.com/markstory/asset_compress/graphs/contributors)
### Changelog
See CHANGELOG for changes only available on `master`. See
[github releases](https://github.com/markstory/asset_compress/releases) for changelogs on previous releases.