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

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

yocmen/blade-components
=======================

This package introduces the concept of components in blade templating, take it from L5.4 for L5.1 LTS

v1.0.2(9y ago)81.3k1[1 issues](https://github.com/yocmen/blade-components/issues)MITPHPPHP &gt;=5.5.38

Since Jan 24Pushed 9y ago2 watchersCompare

[ Source](https://github.com/yocmen/blade-components)[ Packagist](https://packagist.org/packages/yocmen/blade-components)[ Docs](https://github.com/yocmen/blade-components)[ RSS](/packages/yocmen-blade-components/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

Blade Components and slots for Laravel 5.1.x
============================================

[](#blade-components-and-slots-for-laravel-51x)

This package introduces the concept of components in blade templating for Laravel 5.1.x LTS

Components allow you to extend a view and inject content into it, inline, within your views.

Why?
----

[](#why)

To make it easier to create reusable components. Maybe, like me, you need this feature in your L5.1.x app and cant upgrade to L5.4.x because is to hard change a big project.

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

[](#installation)

Begin by installing this package through Composer.

```
{
    "require": {
        "yocmen/blade-components": "v1.*"
    }
}
```

Next open up `app/config/app.php`, comment out the Illuminate View Service Provider, and add the one from this package:

```
'providers' => array(
    //'Illuminate\View\ViewServiceProvider',
    ...
    'Yocmen\BladeComponents\BladeComponentsServicesProvider',
)
```

And that's it!

All documentation for this feature u can find it here:

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Every ~3 days

Total

3

Last Release

3387d ago

PHP version history (2 changes)v1.0.0PHP &gt;=5.6.4

v1.0.2PHP &gt;=5.5.38

### Community

Maintainers

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

---

Top Contributors

[![yocmen](https://avatars.githubusercontent.com/u/11200640?v=4)](https://github.com/yocmen "yocmen (8 commits)")

---

Tags

laravelhtmlbladel5component

### Embed Badge

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

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

###  Alternatives

[yocmen/html-minify

Minifies the HTML output of Laravel 5 applications (Originally from https://github.com/fitztrev/laravel-html-minify)

1713.7k](/packages/yocmen-html-minify)[ken/blade-minify

Laravel Blade Minify

128.9k1](/packages/ken-blade-minify)

PHPackages © 2026

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