# 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
- **Package manager page:** <https://formulae.brew.sh/formula/css-crush>
- **Version:** 5.0.1
- **Source summary:** Extensible PHP based CSS preprocessor
- **Homepage:** <https://the-echoplex.net/csscrush>
- **Repository:** <https://github.com/peteboere/css-crush>
- **Upstream docs:** <https://the-echoplex.net/csscrush>
- **License:** MIT
- **Source archive:** <https://github.com/peteboere/css-crush/archive/refs/tags/v5.0.1.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- csscrush (cli)
- csscrush (alias)

## Dependencies

- php

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 5.0.1
- Local data: ok
- Upstream repository: https://github.com/peteboere/css-crush
- Upstream latest detected: v5.0.1 (current)
- info: No package-manager update timestamp was available.
## 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

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** css-crush
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [php](https://www.automicvault.com/pkg/brew/php/) - Runtime dependency declared by Homebrew.
- [sassc](https://www.automicvault.com/pkg/brew/sassc/) - Shares av.db curated category or tags: cli, css, developer-tools, web-development.
- [angular-cli](https://www.automicvault.com/pkg/brew/angular-cli/) - Shares av.db curated category or tags: cli, developer-tools, web-development.
- [gatsby-cli](https://www.automicvault.com/pkg/brew/gatsby-cli/) - Shares av.db curated category or tags: cli, developer-tools, web-development.
- [gwt](https://www.automicvault.com/pkg/brew/gwt/) - Shares av.db curated category or tags: cli, developer-tools, web-development.
- [js-beautify](https://www.automicvault.com/pkg/brew/js-beautify/) - Shares av.db curated category or tags: cli, css, developer-tools, web-development.
- [livereload](https://www.automicvault.com/pkg/brew/livereload/) - Shares av.db curated category or tags: cli, developer-tools, web-development.
- [minify](https://www.automicvault.com/pkg/brew/minify/) - Shares av.db curated category or tags: cli, css, developer-tools, web-development.
- [nuxi](https://www.automicvault.com/pkg/brew/nuxi/) - Shares av.db curated category or tags: cli, developer-tools, web-development.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
