PHPackages                             blood72/laravel-blade-minify-compiler - 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. blood72/laravel-blade-minify-compiler

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

blood72/laravel-blade-minify-compiler
=====================================

Laravel Blade compile with minify

v2.2.0(4y ago)21.4k↓62.5%MITPHPPHP &gt;=7.3

Since Jul 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/blood72/laravel-blade-minify-compiler)[ Packagist](https://packagist.org/packages/blood72/laravel-blade-minify-compiler)[ RSS](/packages/blood72-laravel-blade-minify-compiler/feed)WikiDiscussions master Synced 1mo ago

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

Laravel Blade Compiler
======================

[](#laravel-blade-compiler)

Laravel Blade Compiler with minify for personal use

Index
-----

[](#index)

- [Requirement](#requirement)
- [Installation](#installation)
- [Configuration](#configuration)
- [Reference](#reference)
- [License](#license)

Requirement
-----------

[](#requirement)

- PHP &gt;= 7.3
- Laravel ^7.0 | ^8.0 | ^9.0
- blood72/blade-minify ^1.4

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

[](#installation)

Install using the composer.

```
composer require blood72/laravel-blade-minify-compiler
```

Configuration
-------------

[](#configuration)

```
# enable/disable blade minifier (true/false)
BLADE_MINIFY_ENABLED=true
```

You can customize CSS, JS Minifier like under example.

```
// 'options' => [],

'options' => [
    'cssMinifier' => [\Minify_CSSmin::class, 'minify'],
    'jsMinifier' => function ($contents) { return \JSMin\JSMin::minify($contents); }, // you can use callback
],
```

You can publish config file.

```
php artisan vendor:publish --provider="Blood72\Minify\Compilers\BladeCompilerServiceProvider"
```

Reference
---------

[](#reference)

- Steve Clay's [minify](https://github.com/mrclay/minify)
- Graham Campbell and Raza Mehdi's [HTMLMin](https://github.com/HTMLMin/Laravel-HTMLMin) (mainly inspired)

License
-------

[](#license)

This package is open-sourced software licensed under the MIT license.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 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 ~186 days

Total

4

Last Release

1586d ago

Major Versions

v1.0.0 → v2.0.02020-09-24

PHP version history (3 changes)v1.0.0PHP ^7.2.5

v2.0.0PHP ^7.3

v2.1.0PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/4738fa3c44cd4b74c27f3a52906739a1bb8278e49c45ddc24e6ef3f6a2a0b2a3?d=identicon)[b72kor@gmail.com](/maintainers/b72kor@gmail.com)

---

Top Contributors

[![blood72](https://avatars.githubusercontent.com/u/24821306?v=4)](https://github.com/blood72 "blood72 (6 commits)")

---

Tags

laravelbladecompiler

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/blood72-laravel-blade-minify-compiler/health.svg)

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

###  Alternatives

[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.2k438.5k29](/packages/tightenco-jigsaw)[wpb/string-blade-compiler

Laravel Blade String Compiler, render string as blade templates

1741.1M3](/packages/wpb-string-blade-compiler)[spatie/laravel-blade-comments

Add debug comments to your rendered output

177325.5k](/packages/spatie-laravel-blade-comments)[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)

PHPackages © 2026

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