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 1mo ago

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 68% 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

1886d 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.8M335](/packages/yajra-laravel-datatables-oracle)[laravel/cashier

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

2.5k25.9M106](/packages/laravel-cashier)[laravel/pulse

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

1.7k12.1M99](/packages/laravel-pulse)[graham-campbell/markdown

Markdown Is A CommonMark Wrapper For Laravel

1.3k7.1M63](/packages/graham-campbell-markdown)[rcrowe/twigbridge

Adds the power of Twig to Laravel

9105.9M50](/packages/rcrowe-twigbridge)[cknow/laravel-money

Laravel Money

1.0k4.3M22](/packages/cknow-laravel-money)

PHPackages © 2026

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