PHPackages                             barefootjs/blade - 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. [Templating &amp; Views](/categories/templating)
4. /
5. barefootjs/blade

ActiveLibrary[Templating &amp; Views](/categories/templating)

barefootjs/blade
================

Laravel Blade rendering backend for the BarefootJS PHP runtime (barefootjs/php) -- BladeBackend implements the engine backend contract on illuminate/view standalone (Filesystem + Dispatcher + EngineResolver/BladeCompiler + FileViewFinder + Factory), ported from packages/adapter-twig/php/src/TwigBackend.php (see also the packages/adapter-jinja/python port's JinjaBackend).

v0.31.5(1w ago)071↓50%MITPHP &gt;=8.2

Since Jul 8Compare

[ Source](https://github.com/piconic-ai/barefootjs-blade)[ Packagist](https://packagist.org/packages/barefootjs/blade)[ RSS](/packages/barefootjs-blade/feed)WikiDiscussions Synced 1w ago

READMEChangelogDependencies (8)Versions (36)Used By (0)

barefootjs/blade
================

[](#barefootjsblade)

Laravel Blade rendering backend (`Barefoot\BladeBackend`) for the BarefootJS PHP runtime.

This package targets `illuminate/view` (used standalone -- no Laravel application/container required) and pairs with the `@barefootjs/blade`compile-time adapter, which emits `.blade.php` templates that call the runtime as a `$bf` object (`{{ $bf->scope_attr() }}`, `{{ $bf->json($x) }}`, `{{ $bf->spread_attrs($bag) }}`).

The engine-agnostic runtime itself (`Barefoot\BarefootJS`, `Evaluator`, `SearchParams`, `Json`) lives in a separate package, [`packages/adapter-php`](../../adapter-php) (`barefootjs/php` on Composer) -- see that package's README for the backend contract every PHP engine adapter (Twig, Blade, ...) implements.

This package is maintained in the BarefootJS monorepo and is mirrored to a Packagist-facing repository only for Composer distribution.

- Source of truth:
- Monorepo:
- npm adapter: `@barefootjs/blade`
- Runtime dependency: `barefootjs/php` (`packages/adapter-php`)

Do not send implementation pull requests to the Packagist mirror. Send changes to the monorepo path above; the release workflow splits this directory and pushes the mirror automatically.

Tests
-----

[](#tests)

```
php tests/test_render.php
```

A live end-to-end Blade render (scope markers, hydration attrs, text slots, autoescaping, `spread_attrs`, reserved-word mangling). Needs `illuminate/view`installed (`composer install`); skips gracefully with a notice (not a failure) when `vendor/autoload.php` is absent. The engine-agnostic runtime's own test suite (golden helper vectors, evaluator vectors, `spread_attrs`, `omit`, `render_child`, ...) lives in [`packages/adapter-php/tests`](../../adapter-php/tests) — run with `php packages/adapter-php/tests/run.php`.

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance98

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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

Total

35

Last Release

13d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/117d4ea26adf7bef9f927827a04bb085bbced6aa5e0bd63464c334c5c71a49e3?d=identicon)[kfly8](/maintainers/kfly8)

### Embed Badge

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

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

###  Alternatives

[moonshine/moonshine

Laravel administration panel

1.3k268.2k89](/packages/moonshine-moonshine)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

731189.9k16](/packages/tallstackui-tallstackui)[blade-ui-kit/blade-icons

A package to easily make use of icons in your Laravel Blade views.

2.5k46.0M465](/packages/blade-ui-kit-blade-icons)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.4M354](/packages/psalm-plugin-laravel)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9922.4M147](/packages/roots-acorn)[livewire/blaze

A tool for optimizing Blade component performance by folding them into parent templates

7301.2M50](/packages/livewire-blaze)

PHPackages © 2026

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