PHPackages                             useclassy/laravel - 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. useclassy/laravel

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

useclassy/laravel
=================

Laravel integration for UseClassy - Transform class:modifier syntax in Blade templates

v1.0.0(9mo ago)311[1 issues](https://github.com/jrmybtlr/useclassy-laravel/issues)MITPHPPHP ^8.1CI failing

Since Jul 26Pushed 9mo agoCompare

[ Source](https://github.com/jrmybtlr/useclassy-laravel)[ Packagist](https://packagist.org/packages/useclassy/laravel)[ RSS](/packages/useclassy-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (6)Versions (2)Used By (0)

UseClassy Laravel Package
=========================

[](#useclassy-laravel-package)

Laravel integration for UseClassy that transforms `class:modifier="value"` syntax in Blade templates.

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

[](#installation)

```
composer require useclassy/laravel
```

The service provider will be automatically registered via Laravel's package auto-discovery.

Usage
-----

[](#usage)

Use the `class:modifier` syntax in your Blade templates:

```

    Responsive heading that changes on large screens and hover

    Dark mode and responsive padding

```

The package will automatically transform these during Blade compilation:

- `class:lg="text-3xl"` becomes `lg:text-3xl`
- `class:hover="text-blue-600"` becomes `hover:text-blue-600`
- `class:dark="bg-gray-800 text-white"` becomes `dark:bg-gray-800 dark:text-white`

These transformed classes are merged with any existing `class` attributes.

How it Works
------------

[](#how-it-works)

This package hooks into Laravel's Blade compiler to transform the UseClassy syntax before the template is rendered. It works seamlessly with:

- Hot module reloading
- Blade caching
- All Laravel versions 10+

Requirements
------------

[](#requirements)

- PHP ^8.1
- Laravel ^10.0|^11.0|^12.0

License
-------

[](#license)

MIT

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance49

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

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

Unknown

Total

1

Last Release

296d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1c8bdf5d432438cd48334e473dd95746695bf69f5b2c4532793eff20cccec956?d=identicon)[jrmybtlr](/maintainers/jrmybtlr)

---

Top Contributors

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

---

Tags

laravelcssbladetailwinduseclassy

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/useclassy-laravel/health.svg)

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

###  Alternatives

[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.2k438.5k29](/packages/tightenco-jigsaw)[robsontenorio/mary

Gorgeous UI components for Livewire powered by daisyUI and Tailwind

1.5k454.7k15](/packages/robsontenorio-mary)[ddfsn/blade-components

Blade Components is a hand-crafted, UI component library for building consistent web experiences in Laravel apps.

193.1k](/packages/ddfsn-blade-components)[electrik/slate

Slate - a Laravel Blade UI Kit is a set of anonymous blade components built using TailwindCSS v4 with built-in dark mode support for your next Laravel project

102.3k1](/packages/electrik-slate)

PHPackages © 2026

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