2017 © Pedro Peláez
 

symfony-bundle typograph-bundle

The typograph bundle for Symfony based on E. Muravjev's Typograph

image

it-blaster/typograph-bundle

The typograph bundle for Symfony based on E. Muravjev's Typograph

  • Monday, October 17, 2016
  • by fenrizbes
  • Repository
  • 5 Watchers
  • 2 Stars
  • 5,551 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 12 % Grown

The README.md

Typograph bundle

Scrutinizer Code Quality Build Status License Total Downloads Latest Unstable Version Latest Stable Version, (*1)

The typograph bundle for Symfony based on E. Muravjev's Typograph, (*2)

Installation

Add it-blaster/typograph-bundle to your composer.json file and run composer, (*3)

...
"require": {
    "it-blaster/typograph-bundle": "1.0.*"
}
...

And register the bundle in your AppKernel.php, (*4)

...
new Fenrizbes\TypographBundle\FenrizbesTypographBundle(),
...

Usage

The bundle contains a TwigExtension which can be used in your templates:, (*5)

{{ content | typograph }}

Configuration

The bundle allows you to pass options that E. Muravjev's Typograph supports. You can use a default config, redefine it:, (*6)

fenrizbes_typograph:
    configs:
        default:
            Text.paragraphs:           on
            OptAlign.oa_oquote:        off
            OptAlign.oa_obracket_coma: off

or define your configs:, (*7)

fenrizbes_typograph:
    configs:
        default:
            Text.paragraphs:           off
            OptAlign.oa_oquote:        off
            OptAlign.oa_obracket_coma: off
        articles:
            Text.paragraphs: on
        news:
            Text.paragraphs: off

and use them where you need:, (*8)

{{ article.content | typograph('articles') }}

The Versions

17/10 2016

dev-master

9999999-dev https://github.com/it-blaster/typograph-bundle

The typograph bundle for Symfony based on E. Muravjev's Typograph

  Sources   Download

MIT

The Requires

 

by Yaroslav Gashuk

symfony typograph

25/08 2015

v1.0.3

1.0.3.0 https://github.com/it-blaster/typograph-bundle

The typograph bundle for Symfony based on E. Muravjev's Typograph

  Sources   Download

MIT

The Requires

 

by Yaroslav Gashuk

symfony typograph

21/08 2015

v1.0.2

1.0.2.0 https://github.com/it-blaster/typograph-bundle

The typograph bundle for Symfony based on E. Muravjev's Typograph

  Sources   Download

MIT

The Requires

 

by Yaroslav Gashuk

symfony typograph

05/08 2015

v1.0.1

1.0.1.0 https://github.com/it-blaster/typograph-bundle

The typograph bundle for Symfony based on E. Muravjev's Typograph

  Sources   Download

MIT

The Requires

 

by Yaroslav Gashuk

symfony typograph

24/03 2015

v1.0.0

1.0.0.0 https://github.com/it-blaster/typograph-bundle

The typograph bundle for Symfony based on E. Muravjev's Typograph

  Sources   Download

MIT

The Requires

 

by Yaroslav Gashuk

symfony typograph