PHPackages                             hidehalo/laravel-view-shrinker - 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. hidehalo/laravel-view-shrinker

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

hidehalo/laravel-view-shrinker
==============================

Laravel framework view shrinker

8.0.0(4y ago)118MITPHP

Since Feb 16Pushed 4y agoCompare

[ Source](https://github.com/hidehalo/laravel-view-shrinker)[ Packagist](https://packagist.org/packages/hidehalo/laravel-view-shrinker)[ RSS](/packages/hidehalo-laravel-view-shrinker/feed)WikiDiscussions master Synced yesterday

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

Laravel view shrinker
=====================

[](#laravel-view-shrinker)

[English](README.md)|[中文](README-zh.md)

What is?
--------

[](#what-is)

Laravel view shrinker is a simple but effective `laravel framework` extension package.

It provider a view compiler,it would performs compression operations similar to twig's `%spaceless` function when compile&amp;caching `Blade` views.

Thus completing `%spaceless` function at compile time to avoiding reading larger files of cache at runtime, it's helpful to enhance speed of view rendering.

How to
------

[](#how-to)

### Install

[](#install)

```
composer install "hidehalo/laravel-view-shrinker"
```

### Usage

[](#usage)

Laravel will automatically register its service provider, override the default blade compiler, there have no more additional configuration.

### Testing

[](#testing)

```
./vendor/bin/test
```

License
-------

[](#license)

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

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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

Total

2

Last Release

1810d ago

Major Versions

6.0.0 → 8.0.02021-05-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/3ebc5028d96faacc87b8371e84947972ccc550f73aa041aa646853c014a4214e?d=identicon)[hidehalo](/maintainers/hidehalo)

---

Top Contributors

[![hidehalo](https://avatars.githubusercontent.com/u/6302952?v=4)](https://github.com/hidehalo "hidehalo (3 commits)")

---

Tags

bladecompilerlaravelperformanceshrinkshrinkerspacelesstwigview

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hidehalo-laravel-view-shrinker/health.svg)

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

###  Alternatives

[cagilo/cagilo

A set of open-source Blade components for the Laravel Framework

172996.5k](/packages/cagilo-cagilo)[orchid/blade-icons

An easy way inline SVG images in your Blade templates.

223.4M9](/packages/orchid-blade-icons)[wireui/heroicons

The Tailwind Heroicons for laravel blade by WireUI

43390.8k5](/packages/wireui-heroicons)[stillat/antlers-components

2656.0k1](/packages/stillat-antlers-components)[itstructure/laravel-grid-view

Grid view for laravel framework

2546.6k2](/packages/itstructure-laravel-grid-view)[ycs77/inertia-laravel-ssr-head

Simple SSR Head for Inertia Laravel

3211.5k](/packages/ycs77-inertia-laravel-ssr-head)

PHPackages © 2026

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