PHPackages                             riclep/laravel-storyblok-css - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. riclep/laravel-storyblok-css

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

riclep/laravel-storyblok-css
============================

A bunch of CSS helpers and features for Laravel Storyblok

1.0.1(3y ago)211[1 issues](https://github.com/RicLeP/laravel-storyblok-css/issues)[4 PRs](https://github.com/RicLeP/laravel-storyblok-css/pulls)MITPHPPHP ^8.0

Since Oct 3Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/RicLeP/laravel-storyblok-css)[ Packagist](https://packagist.org/packages/riclep/laravel-storyblok-css)[ Docs](https://github.com/riclep/laravel-storyblok-css)[ RSS](/packages/riclep-laravel-storyblok-css/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (10)Used By (0)

Laravel Storyblok - CSS helper plugin
=====================================

[](#laravel-storyblok---css-helper-plugin)

[![Latest Version on Packagist](https://camo.githubusercontent.com/96ba10ec6defd0065438a9450ed12f7ef2650a9695ca4a62426e7594cbf86b6a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7269636c65702f6c61726176656c2d73746f7279626c6f6b2d6373732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/riclep/laravel-storyblok-css)[![Total Downloads](https://camo.githubusercontent.com/31147c651550f6e1fd973e38f4b87c27d872932a7198116942b5fa045aedc5c3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7269636c65702f6c61726176656c2d73746f7279626c6f6b2d6373732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/riclep/laravel-storyblok-css)[![GitHub Actions](https://github.com/riclep/laravel-storyblok-css/actions/workflows/main.yml/badge.svg)](https://github.com/riclep/laravel-storyblok-css/actions/workflows/main.yml/badge.svg)

This is a small package that adds a few additional helper methods to `Block`s for generating dynamic CSS class names. You can create class names for `Block`s based on their component name in Storyblok, where they’re nested in the tree etc.

This package is a module for [Laravel Storyblok](https://github.com/RicLeP/laravel-storyblok)

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

[](#installation)

You can install the package via composer:

```
composer require riclep/laravel-storyblok-css
```

Usage
-----

[](#usage)

It’s really simple to use, just add the trait to any blocks you want to create CSS classes for or alternatively the `App\Storyblok\Block` class.

```
namespace App\Storyblok;

use Riclep\Storyblok\Block as BaseBlock;
use Riclep\StoryblokCss\Traits\CssClasses;

class Block extends BaseBlock
{
	use CssClasses;
}
```

[Read the docs for more](https://ls.sirric.co.uk/docs/2.14/views#creating-css-class-names).

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Richard Le Poidevin](https://github.com/riclep)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance50

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% 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 ~59 days

Total

2

Last Release

1259d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8cc0947c5075928ca6160ab3c81f608db980edaefafd50fd904d060ba5c40817?d=identicon)[ric@sirric.co.uk](/maintainers/ric@sirric.co.uk)

---

Top Contributors

[![RicLeP](https://avatars.githubusercontent.com/u/19726976?v=4)](https://github.com/RicLeP "RicLeP (6 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (1 commits)")

---

Tags

ricleplaravel-storyblok-css

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/riclep-laravel-storyblok-css/health.svg)

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

###  Alternatives

[nystudio107/craft-typogrify

Typogrify prettifies your web typography by preventing ugly quotes and 'widows' and more

70381.7k18](/packages/nystudio107-craft-typogrify)[selvinortiz/doxter

Slick markdown editor and smart text parser.

248.9k](/packages/selvinortiz-doxter)

PHPackages © 2026

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