# Install css-crush with Homebrew

Extensible PHP based CSS preprocessor. Version 5.0.1 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:css-crush
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install css-crush
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:css-crush
- **Package manager:** Homebrew
- **Version:** 5.0.1
- **Source summary:** Extensible PHP based CSS preprocessor
- **Homepage:** <https://the-echoplex.net/csscrush>
- **Repository:** <https://github.com/peteboere/css-crush>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- csscrush (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 5.0.1
## Project history and usage

CSS Crush is an extensible PHP-based CSS preprocessor and command-line tool for vendor prefixing, variables, imports, nesting, functions, mixins, minification, plugins, and source maps.

### Project history

The upstream changelog shows CSS Crush evolving through the early-2010s CSS preprocessor wave, adding selector aliasing, vendor aliases, plugins, source maps, watch mode, and command-line workflow features before later major releases raised PHP requirements and removed older legacy-browser features.

### Adoption history

The README documents both Composer installation for PHP projects and npm installation for JavaScript workflows, reflecting a package that began as a PHP preprocessor but also catered to Node-oriented build pipelines.

### How it is used

CSS Crush can be used as a PHP library, through helper functions that compile files or strings, or as a CLI-oriented build tool. The 2014 changelog entry for version 2.2.0 added a command-line config file named crushfile.php, which is the package's official documented config filename.

### Why package nerds care

For package collectors, CSS Crush represents the period when CSS preprocessors competed on lightweight build integration, automatic prefixing, and language extensions before many of those features moved into PostCSS pipelines or native CSS.

### Timeline

- 2012: 1.8.0 adds selector aliasing.
- 2013: 2.0.0 raises the PHP requirement, namespaces library code, and removes several legacy IE helpers.
- 2014: 2.2.0 adds crushfile.php for command-line configuration.
- 2019: 3.0.0 raises the PHP requirement to 5.6 and simplifies the plugin API.
- 2022: 4.0.0 raises the PHP requirement to 7.

### Related projects

- CSS Crush sits in the same historical space as Sass, Less, Stylus, PostCSS-era plugins, and other CSS build tools that extended CSS before browser support caught up.

### Sources

- <https://github.com/peteboere/css-crush#readme>
- <https://github.com/peteboere/css-crush/blob/master/CHANGELOG.md>
- <https://the-echoplex.net/csscrush>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## Combined YAML source

View the package source record on GitHub. [combined/css-crush.yml](https://github.com/mxcl/pkgdb/blob/main/combined/css-crush.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
