PHPackages                             mysheet/mysheet - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. mysheet/mysheet

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

mysheet/mysheet
===============

v1.0.5(11y ago)3231Apache-2.0PHPPHP &gt;=5.4.0

Since Jan 24Pushed 4mo ago2 watchersCompare

[ Source](https://github.com/Dobby007/mysheet)[ Packagist](https://packagist.org/packages/mysheet/mysheet)[ Docs](http://mss.flydigo.com)[ RSS](/packages/mysheet-mysheet/feed)WikiDiscussions master Synced 1mo ago

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

MSS - CSS Preprocessor and Parser written in PHP
================================================

[](#mss---css-preprocessor-and-parser-written-in-php)

[![Latest Stable Version](https://camo.githubusercontent.com/335eb3e37bf672b7be12ccca2d8c67b11fdf0ef910a4d411ab32cdf7941e46cb/68747470733a2f2f706f7365722e707567782e6f72672f6d7973686565742f6d7973686565742f762f737461626c652e737667)](https://packagist.org/packages/mysheet/mysheet) [![Total Downloads](https://camo.githubusercontent.com/aed2f57aa855262b5e6b39506cfad8ad012cc83a74bbabc4ad380d2682cd5b27/68747470733a2f2f706f7365722e707567782e6f72672f6d7973686565742f6d7973686565742f646f776e6c6f616473)](https://packagist.org/packages/mysheet/mysheet) [![Monthly Downloads](https://camo.githubusercontent.com/12c0d2113284daceb93d1b1b5e84d2f865b954949d41a8aefa8b4d72005a1b34/68747470733a2f2f706f7365722e707567782e6f72672f6d7973686565742f6d7973686565742f642f6d6f6e74686c792e706e67)](https://packagist.org/packages/mysheet/mysheet) [![Latest Unstable Version](https://camo.githubusercontent.com/e1017c7a15fac0f3333c5700968cc6babd1d6196914c6a8f036fd80a0a933372/68747470733a2f2f706f7365722e707567782e6f72672f6d7973686565742f6d7973686565742f762f756e737461626c652e737667)](https://packagist.org/packages/mysheet/mysheet) [![License](https://camo.githubusercontent.com/551dbd53014e9a86599f76d5e92679d63e5fa50609d47d4753eba09329b9ccfc/68747470733a2f2f706f7365722e707567782e6f72672f6d7973686565742f6d7973686565742f6c6963656e73652e737667)](https://packagist.org/packages/mysheet/mysheet)

**Official website**:  (not available at the moment)

**Get started**:  (not available at the moment)

**Documentation**:  (not available at the moment)

**Author**: Alexandr Gilevich

What is it?
-----------

[](#what-is-it)

MSS is an open-source CSS preprocessor and parser written in PHP with support for extensions / plug-ins. It has full backward compatibility with pure CSS. MSS has been primarily inspired by the simplicity of Stylus for Node.js. It also has some key features from other CSS preprocessors such as SASS and LESS.

Key Features
------------

[](#key-features)

- Dynamic stylesheet modification at runtime (proving to be useful in building Content Management Systems (CMS) for the use by people with little-to-no prior experience in CSS)
- Extensibility and support of plugins
- Support for variables and math expressions
- Color manipulation with various color systems (HSL, RGB, etc.)
- Mix-ins (common style templates)
- Custom language which uses [indentation style](https://en.wikipedia.org/wiki/Indentation_style) (think of Python)
- Full backward compatibility with pure CSS (i.e. curly-bracket style)

Examples
--------

[](#examples)

**Example #1 - hierarchical structure**:

```
body
    padding 0
    margin 0
    .wrapper
        margin 0 auto
        width 50%

```

results in the following CSS:

```
body {
    padding: 0;
    margin: 0
}

body .wrapper {
    margin: 0 auto;
    width: 50%
}

```

**Example #2 - mixins**:

```
@mixin filter-grayscale(percent)
    -webkit-filter: grayscale($percent);
    -moz-filter: grayscale($percent);
    -ms-filter: grayscale($percent);
    -o-filter: grayscale($percent);
    filter: grayscale($percent);

img
    filter-grayscale 100%
img:hover
    filter-grayscale 0%

```

results in the following CSS:

```
img {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%)
}

img:hover {
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    filter: grayscale(0%)
}

```

**Example #3 - arithmetic expressions and comments**:

```
.object
    color #a50c5b - 50sat /* decrease saturation by 50% */
    background-color #a50c5b + 50lt /* make color lighter by 50 percent */

```

results in the following CSS:

```
.object {
    color: #79385a;
    background-color: #fab6d9
}

```

**Example #4 - arithmetic expressions in combine with variables**:

```
$wrapper_height = 50%
.wrapper
    height $wrapper_height
    top $wrapper_height / 2

```

results in the following CSS:

```
.wrapper {
    height: 50%;
    top: 25%
}

```

and much much more...

License
-------

[](#license)

MSS is open-source project. It is licensed under Apache License, Version 2.0.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance51

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 98.2% 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 ~46 days

Total

3

Last Release

4040d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/000cea2420385de8429c7be0f0d80279ca03ba133f1e014350da7b9f40edca69?d=identicon)[Dobby007](/maintainers/Dobby007)

---

Top Contributors

[![alexgilevich](https://avatars.githubusercontent.com/u/2484265?v=4)](https://github.com/alexgilevich "alexgilevich (55 commits)")[![akovalyov](https://avatars.githubusercontent.com/u/2339101?v=4)](https://github.com/akovalyov "akovalyov (1 commits)")

---

Tags

csscss parsercss preprocessormss

### Embed Badge

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

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

###  Alternatives

[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[querypath/querypath

HTML/XML querying and processing (like jQuery)

8197.0M27](/packages/querypath-querypath)[scotteh/php-dom-wrapper

Simple DOM wrapper to select nodes using either CSS or XPath expressions and manipulate results quickly and easily.

1471.9M10](/packages/scotteh-php-dom-wrapper)[rct567/dom-query

DomQuery is a PHP library that allows easy 'jQuery like' DOM traversing and manipulation

134261.0k4](/packages/rct567-dom-query)[gravitypdf/querypath

PHP library for HTML(5)/XML querying (CSS 4 or XPath) and processing (like jQuery) with PHP 7.1 to 8.5 support

281.2M1](/packages/gravitypdf-querypath)[hexydec/htmldoc

A token based HTML document parser and minifier. Minify HTML documents including inline CSS, Javascript, and SVG's on the fly. Extract document text, attributes, and fragments. Full test suite.

2610.3k3](/packages/hexydec-htmldoc)

PHPackages © 2026

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