• Stars
    star
    368
  • Rank 115,958 (Top 3 %)
  • Language
    PHP
  • License
    MIT License
  • Created over 14 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

Asset Compress

Build Status codecov.io Total Downloads License

Asset Compress is a CakePHP plugin that provides a simple asset pipeline, and asset builder for server rendered HTML based applications. This plugin is not a good fit for single-page applications as you those use-cases require more complex configuration and build tool libraries.

Asset Compress is a great fit for applications that generate HTML, and need a bit of interactive components. Asset Compress is also great for building CSS with a pre-processor. Both Saas, LESS and vanilla CSS are well supported.

Features

  • Development mode builder that rebuilds assets on each request.
  • Command line build tool to compile static assets for deployment.
  • Built-in support for LESS, Sass.
  • JavaScript build tools like Sprockets, TypeScript, and 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.

More Repositories

1

lint-review

An automated code linting bot that integrates various code lint tools with github pull requests.
Python
294
star
2

acl_extras

A console plugin for helping you manage your ACL tables.
PHP
158
star
3

mini-asset

A simple set of asset build tools that provides a config file and extensible integrations with pre-processors & minifiers.
PHP
63
star
4

rust-statsd

Statsd client implemented in Rust
Rust
56
star
5

cakephp_menu_component

A component that generates dynamic DbAcl based menus. Works with AcoExtrasShell
PHP
45
star
6

story-scribbles

MIT licensed pieces
PHP
31
star
7

vim-files

My vim configuration
Vim Script
27
star
8

cakephp_vcard

A simple helper for creating vCard's in CakePHP applications.
PHP
26
star
9

cakephp_geshi

CakePHP plugin that provides a Helper for use with Geshi Syntax highlighter.
PHP
26
star
10

docket-app

A personal todo list application
PHP
19
star
11

rust-statsd-server

A statsd server implemented in Rustlang
Rust
18
star
12

sphinxcontrib-phpdomain

A PHP domain for sphinx. Allows you to annotate PHP objects in your sphinx docs.
HTML
18
star
13

ursa-minor-keyboard

Design and schematics for the ursaminor keyboard
17
star
14

gala-alt-tab-plus

A less flashy alt-tab window switcher for gala and Elementary OS
Vala
17
star
15

cakephp-typescript-react

A CakePHP application skeleton setup for typescript and react
PHP
15
star
16

cakephp-spekkoek

A prototype implementation of PSR7 middleware for CakePHP
PHP
14
star
17

maplebot

A small extensible xmpp bot built with nodejs
JavaScript
13
star
18

cakephp-docs

My fork of the CakePHP docs. Contains some unfinished features/code/designs usually.
CSS
11
star
19

vim-zoomwin

A vim plugin to zoom in on a single split window and restore the previous layout.
Vim Script
10
star
20

dotfiles

Dotfiles for my terminal config. Use them at your own risk.
Shell
9
star
21

cakefest-rabbitmq

Example application shown at CakeFest about RabbitMQ and CakePHP
PHP
9
star
22

go-consumer

A library to help simplify building AMQP consumer applications by taking care of AMQP plumbing.
Go
7
star
23

cakephp-perf

A very basic performance testing tool for comparing different versions of CakePHP.
PHP
6
star
24

cakefest-2017-workshop

A demo application created during CakeFest 2017
PHP
4
star
25

cakefest-workshop-2019

The end result of the cakefest workshops in 2019.
PHP
3
star
26

cakephp-webauthn-example

An example application using U2F authentication (Passkeys)
PHP
3
star
27

jerkbot

An integration testing server built on Node.JS
JavaScript
3
star
28

cakefest2021

Repository of my workshop at Cakefest 2021
PHP
2
star
29

cakephp-phpbenchmarks-app

PHP
2
star
30

Z-Ray-CakePHP

Z-Ray extensions for CakePHP 3.0
PHP
2
star
31

badger2040-lifecounter

A Magic the Gathering focused game tracker application for the Badger2040
Python
2
star
32

cakephp-multi-db-demo

Demo application for cakephp and multiple databases in tests.
PHP
2
star
33

lint-test

Test repo for checking lint-review functionality. This will probably get deleted
Python
1
star
34

cakefest2022

Code from the workshop I gave at cakefest 2022
PHP
1
star
35

sentry-laravel-demo

PHP
1
star