PHPackages                             s90/blade-size - 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. s90/blade-size

ActiveLibrary

s90/blade-size
==============

0124↓100%PHP

Since Sep 1Pushed 2y ago1 watchersCompare

[ Source](https://github.com/s90hub/blade-size)[ Packagist](https://packagist.org/packages/s90/blade-size)[ RSS](/packages/s90-blade-size/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

### Why??

[](#why)

By default, when we have for example an icon with `{{ $attributes->merge(['class' => 'w-4 h-4']) }}` and we set a custom class with `` it will output ``To solve this, we needed to add `!` on the classes to set them as `!important`

With this macro we can add `{{ $attributes->size('w-4 h-4')->merge(...) }}` and the macro will handle the classes 🙌

### Usage

[](#usage)

```
composer require s90/blade-size:dev-main
```

**Config:** (*optional*)

```
php artisan vendor:publish --tag=blade-size-config
```

Blade file:

```
size('w-6 h-6')->merge(['class' => 'stroke-current']) }} stroke-width="1.5" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">

```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8e5a8c0b57b844a0426068cc010b26f710ee68f4818e033fd806deab8ff56741?d=identicon)[swalker](/maintainers/swalker)

---

Top Contributors

[![eduPHP](https://avatars.githubusercontent.com/u/12203605?v=4)](https://github.com/eduPHP "eduPHP (17 commits)")

### Embed Badge

![Health badge](/badges/s90-blade-size/health.svg)

```
[![Health](https://phpackages.com/badges/s90-blade-size/health.svg)](https://phpackages.com/packages/s90-blade-size)
```

PHPackages © 2026

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