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(11mo ago)015MITPHPPHP ^7.4 || ^8.0

Since May 28Pushed 11mo 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 1mo ago

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

28

—

LowBetter than 54% of packages

Maintenance51

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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

349d 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

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[symfony/ux-icons

Renders local and remote SVG icons in your Twig templates.

545.8M69](/packages/symfony-ux-icons)

PHPackages © 2026

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