PHPackages                             maidenvoyagesoftware/laravel-raw-view - 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. maidenvoyagesoftware/laravel-raw-view

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

maidenvoyagesoftware/laravel-raw-view
=====================================

It's intended to compile a view from the HTML string 'on the fly'. You don't need to create a view file.

2.0.0(1y ago)112MITPHPPHP ^7.0|^8.0

Since May 29Pushed 1y agoCompare

[ Source](https://github.com/MaidenVoyageSoftware/laravel-raw-view)[ Packagist](https://packagist.org/packages/maidenvoyagesoftware/laravel-raw-view)[ Docs](https://github.com/MaidenVoyageSoftware/laravel-raw-view)[ RSS](/packages/maidenvoyagesoftware-laravel-raw-view/feed)WikiDiscussions master Synced 1mo ago

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

RawView
=======

[](#rawview)

RawView for Laravel 5.5+ gives an ability to compile a view from the raw HTML code with Blade directives without creating a view file.

Install
-------

[](#install)

Via Composer

```
$ composer require maidenvoyagesoftware/laravel-raw-view
```

After that the view\_raw function will be available. It works like the view function but you must specify the HTML code instead of the name of the view.

Usage
-----

[](#usage)

```
class Item
{
	public $tpl = ' {{ $item->name }}';
	...
	public function render()
	{
	    return view_raw($this->tpl, ['item' => $this])->render();
	}
}

// View

@foreach($items as $item)
    {!! $item->render() !!}
@endforeach

```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

License
-------

[](#license)

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

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.8% 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

713d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/59e3292a12d01e9f910ebffca555aabaeab7ecafa968565fc25f36ba3e892c60?d=identicon)[maidenvoyage](/maintainers/maidenvoyage)

---

Top Contributors

[![sergant210](https://avatars.githubusercontent.com/u/4679725?v=4)](https://github.com/sergant210 "sergant210 (9 commits)")[![blazerunner44](https://avatars.githubusercontent.com/u/12058167?v=4)](https://github.com/blazerunner44 "blazerunner44 (2 commits)")

---

Tags

laravelbladeviewrawview

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/maidenvoyagesoftware-laravel-raw-view/health.svg)

```
[![Health](https://phpackages.com/badges/maidenvoyagesoftware-laravel-raw-view/health.svg)](https://phpackages.com/packages/maidenvoyagesoftware-laravel-raw-view)
```

###  Alternatives

[jenssegers/blade

The standalone version of Laravel's Blade templating engine for use outside of Laravel.

8661.2M109](/packages/jenssegers-blade)[spatie/laravel-blade-comments

Add debug comments to your rendered output

177325.5k](/packages/spatie-laravel-blade-comments)[fiskhandlarn/blade

A library for using Laravel Blade templates in WordPress/WordPlate.

365.8k](/packages/fiskhandlarn-blade)[leitsch/kirby-blade

Enable Laravel Blade Template Engine for Kirby 4 and Kirby 5

219.2k](/packages/leitsch-kirby-blade)

PHPackages © 2026

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