Download the PHP package jolicode/jolitypo-bundle without Composer
On this page you can find all versions of the php package jolicode/jolitypo-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jolicode/jolitypo-bundle
More information about jolicode/jolitypo-bundle
Files in jolicode/jolitypo-bundle
Package jolitypo-bundle
Short Description JoliTypo integration for your Symfony2 project
License MIT
Homepage https://github.com/jolicode/JoliTypoBundle
Informations about the package jolitypo-bundle
DEPRECATED: Since 1.0.3, JoliTypo provides built-in support for Symfony and Twig.
This bundle integrate the JoliTypo library into Symfony2.
Configuration
Add the Bundle to your Kernel:
Define your Fixers preset as you want:
Please refer to the JoliTypo documentation to learn more about fixers, and how to combine them.
Note: there is no cache involved with JoliTypo, take care of it if you want to save some CPU cycles :grimacing:
Twig function
The Bundle expose a new Twig function and filter named jolitypo
, waiting for two arguments: HTML content to fix and the preset name.
Another way to use it is by passing a whole block to it:
PHP Template helper
A jolitypo
helper is available in the view, exposing a fix
method:
Todo
- Allow to set service as Fixer via an
@
- Use Lazy services for all the presets
All versions of jolitypo-bundle with dependencies
symfony/framework-bundle Version ^2.3|^3.0
jolicode/jolitypo Version ^1.0