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

v2.0.0(4d ago)311[1 issues](https://github.com/jrmybtlr/useclassy-laravel/issues)[1 PRs](https://github.com/jrmybtlr/useclassy-laravel/pulls)MITPHPPHP ^8.2CI failing

Since Jul 26Pushed 2mo agoCompare

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

READMEChangelogDependencies (12)Versions (4)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

40

↑

FairBetter than 86% of packages

Maintenance84

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

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

Total

2

Last Release

4d ago

Major Versions

v1.0.0 → v2.0.02026-06-30

PHP version history (2 changes)v1.0.0PHP ^8.1

v2.0.0PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/24998792?v=4)[Jeremy Butler](/maintainers/jrmybtlr)[@jrmybtlr](https://github.com/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

[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[blade-ui-kit/blade-icons

A package to easily make use of icons in your Laravel Blade views.

2.5k42.5M404](/packages/blade-ui-kit-blade-icons)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

725173.0k14](/packages/tallstackui-tallstackui)[hasinhayder/tyro-dashboard

Tyro Dashboard - Beautiful admin dashboard for managing Tyro roles, privileges, users, and settings

5443.8k](/packages/hasinhayder-tyro-dashboard)[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.3k453.6k30](/packages/tightenco-jigsaw)

PHPackages © 2026

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