PHPackages                             hebinet/blade-helpers - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. hebinet/blade-helpers

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

hebinet/blade-helpers
=====================

Add includeOnce Blade directive

v1.1.3(3y ago)13.9k1[1 PRs](https://github.com/hebinet/blade-helpers/pulls)MITPHPPHP ^7.2|^8.0CI failing

Since Aug 5Pushed 2y agoCompare

[ Source](https://github.com/hebinet/blade-helpers)[ Packagist](https://packagist.org/packages/hebinet/blade-helpers)[ Docs](https://github.com/hebinet/blade-helpers)[ RSS](/packages/hebinet-blade-helpers/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (5)Dependencies (4)Versions (6)Used By (0)

Laravel Blade Helpers
=====================

[](#laravel-blade-helpers)

Adds a new Blade-Directive `@includeOnce`

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

[](#installation)

You can install it using Composer:

```
composer require hebinet/blade-helpers
```

Usage
-----

[](#usage)

The directive has the same footprint as the native Laravel `@include` directive.

You can use it like this:

```
@includeOnce({view to include})
{{-- Or --}}
@includeOnce({view to include}, {data to pass through})
```

Examples
--------

[](#examples)

```
{{-- Will include the view 'include-test' once --}}
@includeOnce('include-test')

{{-- Or you can even pass some data to the view --}}
@includeOnce('include-test', ['data'=>4])
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 88.9% 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 ~276 days

Total

5

Last Release

1415d ago

PHP version history (2 changes)v1.0.0PHP ^7.2

v1.1.2PHP ^7.2|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/99707e710b6f3c5e55b7a9f5197027134d285e4be34045d464581e70fa214060?d=identicon)[hebinet](/maintainers/hebinet)

---

Top Contributors

[![hebinet](https://avatars.githubusercontent.com/u/24890467?v=4)](https://github.com/hebinet "hebinet (8 commits)")[![RF1705](https://avatars.githubusercontent.com/u/25487632?v=4)](https://github.com/RF1705 "RF1705 (1 commits)")

---

Tags

blade-directiveshelperslaravelhebinetblade-helpers

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77018.2M122](/packages/laravel-mcp)[illuminate/auth

The Illuminate Auth package.

9327.9M1.2k](/packages/illuminate-auth)[illuminate/routing

The Illuminate Routing package.

1239.0M2.9k](/packages/illuminate-routing)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45344.0k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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