PHPackages                             antonchaikin/f3-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. antonchaikin/f3-blade

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

antonchaikin/f3-blade
=====================

Fat-Free Framework plugin for Blade template rendering

v1.0.0(1y ago)015MITPHPPHP ^7.4 || ^8.0

Since May 28Pushed 1y agoCompare

[ Source](https://github.com/AntonSeagull/f3-blade)[ Packagist](https://packagist.org/packages/antonchaikin/f3-blade)[ RSS](/packages/antonchaikin-f3-blade/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

f3-blade
========

[](#f3-blade)

**Fat-Free Framework plugin for Blade template rendering.**

This plugin integrates [Jenssegers Blade](https://github.com/jenssegers/blade) into the [Fat-Free Framework (F3)](https://fatfreeframework.com/), allowing you to use `$f3->blade()` to render Blade views.

💡 Installation
--------------

[](#-installation)

Install via Composer:

```
composer require antonchaikin/f3-blade
```

🚀 Usage
-------

[](#-usage)

In your `index.php`:

```
use F3Blade\BladePlugin;

BladePlugin::setPaths(__DIR__ . '/resources/views', __DIR__ . '/resources/cache');
BladePlugin::addNamespace('app', __DIR__ . '/resources/custom');
BladePlugin::register();

$f3->blade('home', ['title' => 'Hello']);
```

This will render `resources/views/home.blade.php`.

✨ Features
----------

[](#-features)

- Adds `$f3->blade()` helper to render views using Blade
- Supports setting custom view and cache paths
- Supports adding view namespaces via `addNamespace()`

🧠 IDE Autocomplete
------------------

[](#-ide-autocomplete)

To enable autocomplete in IDEs (e.g. VS Code), use:

```
/** @var \Base&\F3Blade\BladeAwareF3 $f3 */
```

And define this interface:

```
namespace F3Blade;

/**
 * @method string blade(string $view, array $data = [], array $mergeData = [])
 */
interface BladeAwareF3 {}
```

📁 File Structure
----------------

[](#-file-structure)

```
resources/
├── views/
│   └── home.blade.php
└── cache/

```

📝 License
---------

[](#-license)

MIT License © 2025 Anton Chaikin

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance46

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

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

Unknown

Total

1

Last Release

402d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3d12d07cb0b4a9c882178756622fa9c57f281836ff84f530d0129f3d6377811d?d=identicon)[AppTor](/maintainers/AppTor)

---

Top Contributors

[![AntonSeagull](https://avatars.githubusercontent.com/u/20472179?v=4)](https://github.com/AntonSeagull "AntonSeagull (1 commits)")

### Embed Badge

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

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

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3851.2M](/packages/limenius-react-bundle)[area17/laravel-auto-head-tags

Laravel Auto Head Tags helps you build the list of head elements for your app

4616.1k](/packages/area17-laravel-auto-head-tags)[jelix/wikirenderer

WikiRenderer is a library to generate HTML or anything else from wiki content.

1712.3k1](/packages/jelix-wikirenderer)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

282.2k](/packages/webkinder-sproutset)

PHPackages © 2026

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