PHPackages                             jdz/cssmaker - 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. jdz/cssmaker

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

jdz/cssmaker
============

Build minified css file from less sources

1.0.1(9mo ago)00MITPHPPHP &gt;=8.1

Since Aug 3Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/joffreydemetz/cssMaker)[ Packagist](https://packagist.org/packages/jdz/cssmaker)[ Docs](https://jdz.joffreydemetz.com/cssmaker/)[ RSS](/packages/jdz-cssmaker/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (6)Versions (3)Used By (0)

CssMaker
========

[](#cssmaker)

A modern PHP library for building optimized CSS files from LESS sources with advanced preprocessing, autoprefixing, and minification capabilities.

Features
--------

[](#features)

- 🎨 **LESS Compilation**: Process LESS files with variables, mixins, and nesting
- 🚀 **PostCSS Integration**: Automatic vendor prefix addition and CSS optimization
- 🧹 **CSS Optimization**: Comment removal, whitespace cleaning, and minification
- 📁 **Modular Organization**: Structured approach with categorized file types
- 🔧 **Font Management**: Built-in font loading and @font-face generation
- ⚡ **Performance**: Efficient temporary file handling and process pipeline
- 🧪 **Fully Tested**: Comprehensive test suite with modular test architecture
- 🔄 **Fluent Interface**: Method chaining for clean, readable code

Installation
------------

[](#installation)

```
composer require jdz/cssmaker
```

### Node.js Dependencies

[](#nodejs-dependencies)

CssMaker requires Node.js tools for CSS processing. Install them automatically:

```
composer npm:local
composer npm:global
```

Dependencies
------------

[](#dependencies)

jdz/fontmanager is required for font management and @font-face generation. jdz/data is required for data handling and processing. jdz/output is required for output handling and logging.

Quick Start
-----------

[](#quick-start)

```
