PHPackages                             pug-php/pug-filter-react - 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. pug-php/pug-filter-react

ActiveLibrary

pug-php/pug-filter-react
========================

Render React JSX code as JavaScript in a script tag

1.1.0(8y ago)390.0k↓30%1MITPHP

Since May 15Pushed 3y ago1 watchersCompare

[ Source](https://github.com/pug-php/pug-filter-react)[ Packagist](https://packagist.org/packages/pug-php/pug-filter-react)[ RSS](/packages/pug-php-pug-filter-react/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (4)Versions (4)Used By (1)

pug-filter-react
================

[](#pug-filter-react)

[![Latest Stable Version](https://camo.githubusercontent.com/bea356fa45c92466e1b4989a535b55cb432094c611c799b2c79522bf87b49fcd/68747470733a2f2f706f7365722e707567782e6f72672f7075672d7068702f7075672d66696c7465722d72656163742f762f737461626c652e706e67)](https://packagist.org/packages/pug-php/pug-filter-react)[![Build Status](https://camo.githubusercontent.com/4d394d0791a856c3ece8733114b6f9b55ea081c02b17c491c176a2551dca3c7a/68747470733a2f2f7472617669732d63692e6f72672f7075672d7068702f7075672d66696c7465722d72656163742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/pug-php/pug-filter-react)[![Code Climate](https://camo.githubusercontent.com/450dcafd41b0262550abe5c6fd32d1cf7bc919f4782ceb3ce89895218d048f3e/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f7075672d7068702f7075672d66696c7465722d72656163742f6261646765732f6770612e737667)](https://codeclimate.com/github/pug-php/pug-filter-react)[![Test Coverage](https://camo.githubusercontent.com/38c96d493e29562c858a97ffb6f584a2276337861037f896b94bb7ea0b99d4ab/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f7075672d7068702f7075672d66696c7465722d72656163742f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/pug-php/pug-filter-react/coverage)[![StyleCI](https://camo.githubusercontent.com/487891799382f3ce2224adf97c2de79dd36ae111977831bf0b4b0542a0e4e289/68747470733a2f2f7374796c6563692e696f2f7265706f732f39313236333932372f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/91263927)

This template:

```
body
  :jsx
    /** @jsx dom */
    var dom = React.createElement;

    ReactDOM.render(
      Hello world!,
      document.getElementById('main')
    );
```

will be rendered like this:

```

    "use strict";

    /** @jsx dom */
    var dom = React.createElement;

    ReactDOM.render(dom(
        "h1",
        null,
        "Hello world!"
    ), document.getElementById('main'));

```

Security contact information
----------------------------

[](#security-contact-information)

To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

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

Total

3

Last Release

3149d ago

### Community

Maintainers

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

---

Top Contributors

[![kylekatarnls](https://avatars.githubusercontent.com/u/5966783?v=4)](https://github.com/kylekatarnls "kylekatarnls (16 commits)")

---

Tags

extensionfilterpugreactreactjs

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pug-php-pug-filter-react/health.svg)

```
[![Health](https://phpackages.com/badges/pug-php-pug-filter-react/health.svg)](https://phpackages.com/packages/pug-php-pug-filter-react)
```

###  Alternatives

[bkwld/laravel-pug

Pug view adapter for Laravel

15967.4k2](/packages/bkwld-laravel-pug)[ci-pug/ci-pug

HAML-like template engine for CodeIgniter

211.7k](/packages/ci-pug-ci-pug)

PHPackages © 2026

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