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

ActiveLibrary

xaamin/blade
============

Laravel blade templating out of the box

v1.1.3(5y ago)01.5k1PHP

Since Dec 29Pushed 5y ago1 watchersCompare

[ Source](https://github.com/xaamin/blade)[ Packagist](https://packagist.org/packages/xaamin/blade)[ RSS](/packages/xaamin-blade/feed)WikiDiscussions master Synced today

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

Blade
=====

[](#blade)

Standalone version of [Blade templating engine](http://laravel.com/docs/5.3/blade) for use outside of Laravel.

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

[](#installation)

```
composer require xaamin/blade
```

Usage
-----

[](#usage)

Create a Blade instance by passing it the folder(s) where your view files are located, and a cache folder. Render a template by calling the `make` method.

```
    use Xaamin\Blade\View;

    $view = new View('views', 'cache');

    echo $view->make('home', ['name' => 'John Doe']);
```

Now you can easily create a directive by calling the `compiler()` function

```
    $view->compiler()->directive('money', function ($expression) {
        return "";
    });
```

In your Blade Template

```

    @datetime($decimal)
```

The Blade instances passes all methods to the internal view factory. So methods such as `exists`, `file`, `share`, `composer` and `creator` are available as well.

More information about the Blade templating engine can be found on .

###  Health Score

31

—

LowBetter than 71% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 80% 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 ~510 days

Total

4

Last Release

1837d ago

### Community

Maintainers

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

---

Top Contributors

[![benxaamin](https://avatars.githubusercontent.com/u/21373088?v=4)](https://github.com/benxaamin "benxaamin (8 commits)")[![xaamin](https://avatars.githubusercontent.com/u/4313256?v=4)](https://github.com/xaamin "xaamin (2 commits)")

### Embed Badge

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

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

###  Alternatives

[yajra/laravel-datatables-oracle

jQuery DataTables API for Laravel

4.9k33.2M301](/packages/yajra-laravel-datatables-oracle)[blade-ui-kit/blade-icons

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

2.4k31.8M212](/packages/blade-ui-kit-blade-icons)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k24.8M91](/packages/laravel-cashier)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k11.3M80](/packages/laravel-pulse)[livewire/flux

The official UI component library for Livewire.

9194.2M68](/packages/livewire-flux)[illuminate/console

The Illuminate Console package.

12943.4M4.3k](/packages/illuminate-console)

PHPackages © 2026

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