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(5y ago)118MITPHP

Since Feb 16Pushed 5y 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 3w ago

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 35% 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

1864d ago

Major Versions

6.0.0 → 8.0.02021-05-28

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6302952?v=4)[\_\_hidehalo](/maintainers/hidehalo)[@hidehalo](https://github.com/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

[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[api-platform/laravel

API Platform support for Laravel

58171.8k14](/packages/api-platform-laravel)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21318.6k3](/packages/ecotone-laravel)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3417.0k](/packages/duncanmcclean-statamic-cargo)

PHPackages © 2026

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