PHPackages                             fsv/typography-bundle - 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. fsv/typography-bundle

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

fsv/typography-bundle
=====================

Symfony typographer

124PHP

Since May 10Pushed 10y ago2 watchersCompare

[ Source](https://github.com/sergeyfedotov/symfony-typography-bundle)[ Packagist](https://packagist.org/packages/fsv/typography-bundle)[ RSS](/packages/fsv-typography-bundle/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Symfony Typography Bundle
=========================

[](#symfony-typography-bundle)

[![Build Status](https://camo.githubusercontent.com/181f0177df3fec6e93bc20a72641e1d8127f4c0731cf6891dad287f37bd7e37c/68747470733a2f2f7472617669732d63692e6f72672f7365726765796665646f746f762f73796d666f6e792d7479706f6772617068792d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sergeyfedotov/symfony-typography-bundle)

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

[](#installation)

```
$ composer require fsv/typography-bundle

```

```
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Fsv\TypographyBundle\FsvTypographyBundle(),
    );
}
```

For lazy typographers initialization:

```
$ composer require ocramius/proxy-manager:^1.0

```

Configuration
-------------

[](#configuration)

```
# app/config/config.yml

fsv_typography:
    typographers:
        default:
            mdash:
                options:
                    Text.paragraphs: off
        another:
            smartypants:
                attr: 1
        service:
            id: my_service_id
# ...
```

Disable form extension:

```
fsv_typography:
    enable_form_extension: false
```

Usage
-----

[](#usage)

```
// AppBundle\Form\Type\ExampleFormType.php

public function buildForm(FormBuilderInterface $builder, array $options)
{
    $builder->add('content', TextareaType::class, [
        'typography' => 'default'
    ]);
    // ...
}
```

```
// AppBundle/Controller/ExampleController.php

public function exampleAction()
{
    // ...
    $content = $this->get('fsv_typography.typographer_map')->getTypographer('default')->typography($rawContent);
    $content = $this->get('fsv_typography.typographer_map.default')->typography($rawContent);
    // ...
}
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.3% 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/d116450280f89758e235393e270bb4c2e4e2a87ae41fa1efdbbaa6655cac3916?d=identicon)[sergeyfedotov](/maintainers/sergeyfedotov)

---

Top Contributors

[![sergeyfedotov](https://avatars.githubusercontent.com/u/2290214?v=4)](https://github.com/sergeyfedotov "sergeyfedotov (26 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

### Embed Badge

![Health badge](/badges/fsv-typography-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/fsv-typography-bundle/health.svg)](https://phpackages.com/packages/fsv-typography-bundle)
```

###  Alternatives

[philperusse/nova-tooltip-field

A Laravel Nova field.

10257.4k](/packages/philperusse-nova-tooltip-field)[lab404/nova-signature

A Laravel Nova field.

1474.9k](/packages/lab404-nova-signature)[doxphp/doxphp

Dox for PHP, inspired by Dox for JavaScript.

503.0k2](/packages/doxphp-doxphp)

PHPackages © 2026

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