PHPackages                             windpress/oxide-parser - 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. windpress/oxide-parser

ActiveLibrary

windpress/oxide-parser
======================

tailwindcss-oxide parser

1.0.67(5mo ago)120MITPHP

Since Nov 21Pushed 5mo agoCompare

[ Source](https://github.com/wind-press/oxide-parser-php)[ Packagist](https://packagist.org/packages/windpress/oxide-parser)[ RSS](/packages/windpress-oxide-parser/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (52)Used By (0)

Oxide Parser PHP
================

[](#oxide-parser-php)

This package provides a PHP interface to [Tailwind CSS's Oxide](https://www.npmjs.com/package/@tailwindcss/oxide) parser.

Note

This package is automatically generated from the  repository.

Supported OS
------------

[](#supported-os)

- **Linux** x86\_64
- **Windows** x86\_64
- **MacOS** aarch64

PHP Requirements
----------------

[](#php-requirements)

This package require the [FFI extension](https://www.php.net/manual/en/intro.ffi.php) to be enabled.

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

[](#installation)

Install the package via composer:

```
composer require windpress/oxide-parser
```

Available Methods
-----------------

[](#available-methods)

**find\_tw\_candidates** - Find Tailwind CSS class candidates in the given HTML content.

```
namespace WindPress\OxideParser;

class Parser
{
    /**
     * Find Tailwind CSS class candidates in the given HTML content.
     *
     * @param string $css_content
     * @return array
     */
    public function find_tw_candidates(string $css_content): array
}
```

Usage
-----

[](#usage)

```
use WindPress\OxideParser\Parser;

$output = Parser::get_instance()->find_tw_candidates($input);
```

Example
-------

[](#example)

Example of how to use the package to find Tailwind CSS class candidates in a given HTML content.

```
$input =  inset-0
    [2] => bg-center
    [3] => img
    [4] => jpg
    [5] => div
    [6] => -translate-x-1/2
    [7] => -translate-y-1/2
    [8] => max-w-none
    [9] => [mask-image:linear-gradient(180deg,white,rgba(255,255,255,0))]
    [10] => sm:py-12
    [11] => width
    [12] => mask-image:linear-gradient(180deg,white,rgba(255,255,255,0))
    [13] => bg-[url(/img/grid.svg)]
    [14] => class
    [15] => min-h-screen
    [16] => left-1/2
    [17] => absolute
    [18] => top-1/2
    [19] => bg-gray-50
    [20] => src
    [21] => flex
    [22] => overflow-hidden
    [23] => py-6
    [24] => img/beams
    [25] => flex-col
    [26] => relative
    [27] => alt
)

```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance70

Regular maintenance activity

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

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

Recently: every ~0 days

Total

51

Last Release

176d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/65aaa177092fe0f623e6d14138ae94516ceaa28675a9b946287747298be5870e?d=identicon)[suabahasa](/maintainers/suabahasa)

---

Top Contributors

[![suasgn](https://avatars.githubusercontent.com/u/5080378?v=4)](https://github.com/suasgn "suasgn (52 commits)")

### Embed Badge

![Health badge](/badges/windpress-oxide-parser/health.svg)

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

PHPackages © 2026

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