PHPackages                             cyberalien/simple-tokenizer - 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. cyberalien/simple-tokenizer

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

cyberalien/simple-tokenizer
===========================

Simple CSS tokenizer

1.0.2(9y ago)0381MITPHPPHP &gt;=5.4

Since Apr 18Pushed 9y ago1 watchersCompare

[ Source](https://github.com/cyberalien/css-tokenizer-php)[ Packagist](https://packagist.org/packages/cyberalien/simple-tokenizer)[ Docs](https://www.artodia.com/)[ RSS](/packages/cyberalien-simple-tokenizer/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (4)Used By (1)

Simple CSS tokenizer
====================

[](#simple-css-tokenizer)

This is a library for parsing stylesheets.

Unlike proper tokenizers, it is not designed for precision, it is designed for speed.

What does it do?
----------------

[](#what-does-it-do)

It takes css code, splits it into array of selector and rule tokens. It can also build css from array of tokens, that can be used for stuff like simple nested css parser.

Usage
-----

[](#usage)

See unit tests for sample code.

This library was originally designed for private project, so there isn't much documentation.

License
-------

[](#license)

This library is licensed under MIT license. That means you can use it in both open source and commercial projects.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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 ~3 days

Total

3

Last Release

3352d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/822287?v=4)[Vjacheslav Trushkin](/maintainers/cyberalien)[@cyberalien](https://github.com/cyberalien)

---

Top Contributors

[![cyberalien](https://avatars.githubusercontent.com/u/822287?v=4)](https://github.com/cyberalien "cyberalien (6 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cyberalien-simple-tokenizer/health.svg)

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

###  Alternatives

[unisolutions/silverstripe-copybutton

Adds copy button to the GridField.

1736.5k](/packages/unisolutions-silverstripe-copybutton)[jxlwqq/star-rating

Star Rating extension for laravel-admin.

216.2k](/packages/jxlwqq-star-rating)

PHPackages © 2026

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