PHPackages                             css-crush/css-crush - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. css-crush/css-crush

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

css-crush/css-crush
===================

CSS preprocessor

v5.0.1(5mo ago)541300.0k—9.2%50[1 issues](https://github.com/peteboere/css-crush/issues)[1 PRs](https://github.com/peteboere/css-crush/pulls)6MITPHPPHP &gt;=8.1CI passing

Since Aug 1Pushed 5mo ago26 watchersCompare

[ Source](https://github.com/peteboere/css-crush)[ Packagist](https://packagist.org/packages/css-crush/css-crush)[ Docs](http://the-echoplex.net/csscrush)[ RSS](/packages/css-crush-css-crush/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (35)Used By (6)

[![CI](https://github.com/peteboere/css-crush/actions/workflows/php.yml/badge.svg)](https://github.com/peteboere/css-crush/actions/workflows/php.yml/badge.svg)

[![Logo](https://camo.githubusercontent.com/21a32f87f7d176956f22b51f5f86269bc5506642181516f749bba2e7b710dd23/687474703a2f2f7468652d6563686f706c65782e6e65742f63737363727573682f696d616765732f6373732d63727573682d65787465726e616c2e7376673f763d32)](https://camo.githubusercontent.com/21a32f87f7d176956f22b51f5f86269bc5506642181516f749bba2e7b710dd23/687474703a2f2f7468652d6563686f706c65782e6e65742f63737363727573682f696d616765732f6373732d63727573682d65787465726e616c2e7376673f763d32)

A CSS preprocessor designed to enable a modern and uncluttered CSS workflow.

- Automatic vendor prefixing
- Variables
- Import inlining
- Nesting
- Functions (color manipulation, math, data-uris etc.)
- Rule inheritance (@extends)
- Mixins
- Minification
- Lightweight plugin system
- Source maps

See the [docs](http://the-echoplex.net/csscrush) for full details.

---

Setup (PHP)
-----------

[](#setup-php)

If you're using [Composer](http://getcomposer.org) you can use Crush in your project with the following line in your terminal:

```
composer require css-crush/css-crush:dev-master
```

If you're not using Composer yet just download the library into a convenient location and require the bootstrap file:

```

```

Basic usage (PHP)
-----------------

[](#basic-usage-php)

```
