PHPackages                             astroshippers/laravel-minified-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. [Templating &amp; Views](/categories/templating)
4. /
5. astroshippers/laravel-minified-blade

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

astroshippers/laravel-minified-blade
====================================

This package provides `.min.blade.php` file extension

v1.0.1(3y ago)3386[3 PRs](https://github.com/astroshippers/laravel-minified-blade/pulls)MITPHPPHP ^8.0.2

Since Jun 16Pushed 2y agoCompare

[ Source](https://github.com/astroshippers/laravel-minified-blade)[ Packagist](https://packagist.org/packages/astroshippers/laravel-minified-blade)[ Docs](https://github.com/astroshippers/laravel-minified-blade)[ RSS](/packages/astroshippers-laravel-minified-blade/feed)WikiDiscussions main Synced 4d ago

READMEChangelog (2)Dependencies (12)Versions (6)Used By (0)

[![](https://camo.githubusercontent.com/2bedf63f24cda7efab02da955dc11fb7ef8a060e2f26b73c33a7aac84529b8a3/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f737570706f72742d756b7261696e652e7376673f743d31)](https://supportukrainenow.org)

Laravel Minified Blade
======================

[](#laravel-minified-blade)

This package provides `.min.blade.php` file extension.

Just add the `.min` to your `.blade.php`, and the template will get minified! ⚡

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

[](#installation)

```
composer require astroshippers/laravel-minified-blade
```

Usage
-----

[](#usage)

Let's use this file as an example.

```

    @if($age > 13)

            Welcome to your new account!

    @else

            Sorry, access denied.

    @endif

```

Normally, without using this package it will be compiled into this:

```

            Welcome to your new account!

            Sorry, access denied.

```

But, if you add this package and use `.min` in your file extension, you will have the following result:

```
 Welcome to your new account!  Sorry, access denied.
```

What is the use case?
---------------------

[](#what-is-the-use-case)

- Email templates
- [Get rid of automatically added whitespace when using x-components syntax](https://github.com/laravel/framework/issues/34931)

Why not just use a directive, such as `@minified` and `@endminified`?
---------------------------------------------------------------------

[](#why-not-just-use-a-directive-such-as-minified-and-endminified)

Directives get executed after the template is rendered, which may add unwanted behavior such as your dynamic content spacing being minified.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.3% 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 ~0 days

Total

2

Last Release

1428d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23292709?v=4)[Ostap Brehin](/maintainers/osbre)[@osbre](https://github.com/osbre)

---

Top Contributors

[![osbre](https://avatars.githubusercontent.com/u/23292709?v=4)](https://github.com/osbre "osbre (16 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (7 commits)")

---

Tags

blade-compilerlaravellaravel-bladelaravelastroshipperslaravel-minified-blade

###  Code Quality

TestsPest

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/astroshippers-laravel-minified-blade/health.svg)

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

###  Alternatives

[rcrowe/twigbridge

Adds the power of Twig to Laravel

9105.9M50](/packages/rcrowe-twigbridge)[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.2k438.5k29](/packages/tightenco-jigsaw)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[moonshine/moonshine

Laravel administration panel

1.3k217.1k59](/packages/moonshine-moonshine)[radic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

271321.7k5](/packages/radic-blade-extensions)[delatbabel/viewpages

Support rendering/view of Laravel pages and templates from a database.

121.4k](/packages/delatbabel-viewpages)

PHPackages © 2026

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