Analysis updated 2026-07-03
Combine and minify CSS and JavaScript files in a PHP web application to reduce page load time.
Compile LESS or SASS stylesheets into plain CSS automatically as part of a PHP build process.
Generate cache-busting file names that force browsers to load fresh CSS and JS after each deployment.
| kriswallsmith/assetic | openai-php/laravel | crinsane/laravelshoppingcart | |
|---|---|---|---|
| Stars | 3,718 | 3,720 | 3,704 |
| Language | PHP | PHP | PHP |
| Setup difficulty | moderate | easy | easy |
| Complexity | 3/5 | 2/5 | 2/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
No longer actively maintained, consider the assetic/framework successor package for new projects.
Assetic is an asset management library for PHP web applications. In web development, assets are files like JavaScript, CSS, and images that a website sends to the browser. Managing these files means tasks like combining multiple files into one, compressing them to reduce size, and converting source formats (like LESS or SASS, which are extended versions of CSS) into plain CSS that browsers understand. Assetic handles all of this in PHP code. The library organizes assets into collections and then applies filters to them. A filter is a processing step, such as compiling LESS into CSS or minifying JavaScript to remove whitespace and comments. Filters can be stacked: a CSS file might first be compiled from SCSS, then compressed by a separate tool. The library ships with a large number of built-in filters covering common tools like LESS, SASS, SCSS, TypeScript, CoffeeScript, UglifyJS, and several CSS and JavaScript compressors. There are three main ways to use Assetic. You can build asset objects directly in code and dump them to a string. You can use an asset manager to organize named assets and a filter manager to organize named filters, then reference them by name. Or you can use an asset factory that takes a root directory and handles most of the object creation for you, including a debug mode that can skip heavy processing steps like minification during development. Assetic also supports writing the processed output to static files on disk so a web server can serve them directly, along with a cache-busting feature that appends a version identifier to file names so browsers fetch fresh copies when the content changes. This repository is no longer actively maintained. Development has continued at a separate repository under the package name assetic/framework.
A PHP library that manages web assets by combining CSS and JavaScript files, compiling LESS and SASS into plain CSS, and minifying output, no longer actively maintained, with development continuing at assetic/framework.
Mainly PHP. The stack also includes PHP, LESS, SASS.
Not specified in the description.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.