PHPackages                             zipavlin/headsail - 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. zipavlin/headsail

ActiveLibrary

zipavlin/headsail
=================

A Tailwindcss interpreter, parser and composer

1.0.1(5y ago)015MITPHPPHP ^7.1

Since Sep 29Pushed 5y ago1 watchersCompare

[ Source](https://github.com/zipavlin/headsail)[ Packagist](https://packagist.org/packages/zipavlin/headsail)[ Docs](https://github.com/zipavlin/headsail)[ RSS](/packages/zipavlin-headsail/feed)WikiDiscussions master Synced 4d ago

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

Headsail
========

[](#headsail)

[![Latest Version on Packagist](https://camo.githubusercontent.com/741a8c848059355ccf51563e40f0702b5a088decf860b38c81a4710c235e8aec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a697061766c696e2f686561647361696c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zipavlin/headsail)[![Build Status](https://camo.githubusercontent.com/4987011f766cefdb0be1f6ee3bdb348461d9a89367552801b70e5ad1b2551ee5/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7a697061766c696e2f686561647361696c2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/zipavlin/headsail)[![Quality Score](https://camo.githubusercontent.com/d261c52d0cd3eaf2911e0b259a2b85358651d1d69f2f4ee26f85c5dfd6545d8a/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7a697061766c696e2f686561647361696c2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/zipavlin/headsail)[![Total Downloads](https://camo.githubusercontent.com/ba00fc8120a0ab18c9d0001bca75d3b722e6f40ebace87560f50d5114c8e79f1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a697061766c696e2f686561647361696c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zipavlin/headsail)

Headsail is [Tailwindcss](https://tailwindcss.com/) parser and composer. It's main purpose is to split join class variants to singular one and selectively replace utilities.

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

[](#installation)

You can install the package via composer:

```
composer require zipavlin/headsail
```

Usage
-----

[](#usage)

```
(string) new Headsail('m-3 mx-4 mr-12'); // mt-3 mr-12 mb-3 ml-4
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~13 days

Total

2

Last Release

2039d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/aa64ce592710ce091395f5f69ce752755a06d3f1735bce7f58b92d3793e1962c?d=identicon)[zipavlin](/maintainers/zipavlin)

---

Top Contributors

[![zipavlin](https://avatars.githubusercontent.com/u/5628018?v=4)](https://github.com/zipavlin "zipavlin (2 commits)")

---

Tags

zipavlinheadwind

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zipavlin-headsail/health.svg)

```
[![Health](https://phpackages.com/badges/zipavlin-headsail/health.svg)](https://phpackages.com/packages/zipavlin-headsail)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
