2017 © Pedro Peláez
 

symfony-bundle typograph-bundle

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

image

meniam/typograph-bundle

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

  • Wednesday, September 21, 2016
  • by meniam
  • Repository
  • 1 Watchers
  • 0 Stars
  • 40 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % 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 meniam/typograph-bundle to your composer.json file and run composer, (*3)

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

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

...
new 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)

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

or define your configs:, (*7)

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

21/09 2016

dev-master

9999999-dev https://github.com/meniam/typograph-bundle

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

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

by Yaroslav Gashuk

symfony typograph

21/09 2016

v1.0.6

1.0.6.0 https://github.com/meniam/typograph-bundle

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

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

by Yaroslav Gashuk

symfony typograph

21/09 2016

v1.0.5

1.0.5.0 https://github.com/meniam/typograph-bundle

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

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

by Yaroslav Gashuk

symfony typograph

21/09 2016

v1.0.4

1.0.4.0 https://github.com/meniam/typograph-bundle

The typograph bundle for Symfony3 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