PHPackages                             riclep/laravel-storyblok-typography - 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-typography

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

riclep/laravel-storyblok-typography
===================================

A bunch of typographical helpers and features for Laravel Storyblok

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

Since Oct 3Pushed 1mo ago1 watchersCompare

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

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

Laravel Storyblok - Typography plugin
=====================================

[](#laravel-storyblok---typography-plugin)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2ef78ac73ee96de4980867fc4340f2ec70c0d0a4c4dddea51c3bb0448b6877ea/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7269636c65702f6c61726176656c2d73746f7279626c6f6b2d7479706f6772617068792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/riclep/laravel-storyblok-typography)[![Total Downloads](https://camo.githubusercontent.com/c1344b2550b006dc59826245846d51aac924b1cd2e4e435081cd733525fb8df4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7269636c65702f6c61726176656c2d73746f7279626c6f6b2d7479706f6772617068792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/riclep/laravel-storyblok-typography)[![GitHub Actions](https://github.com/riclep/laravel-storyblok-typography/actions/workflows/main.yml/badge.svg)](https://github.com/riclep/laravel-storyblok-typography/actions/workflows/main.yml/badge.svg)

Make your content sing with enhanced typography thanks to [PHP Typography](https://github.com/mundschenk-at/php-typography). The package includes a trait making it simple to apply typographic fixes such as proper quotes '' -&gt; ‘’, small caps and useful class names for styling numbers 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-typography
```

Usage
-----

[](#usage)

It’s really simple to use, just add the trait to any `Block`s you want to apply typography to. Create an `$applyTypography` property containing an array of fields. It will work for text and html content and has sensible defaults but you can override the settings on a `Block` by `Block` basis.

```
