PHPackages                             tangoman/truncate-html-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. [Templating &amp; Views](/categories/templating)
4. /
5. tangoman/truncate-html-bundle

ActiveSymfony-bundle[Templating &amp; Views](/categories/templating)

tangoman/truncate-html-bundle
=============================

Symfony Truncate Html Twig Extention Bundle

1.0.1(8y ago)1249MITPHPPHP &gt;=5.3.3

Since Aug 18Pushed 8y agoCompare

[ Source](https://github.com/TangoMan75/TruncateHtmlBundle)[ Packagist](https://packagist.org/packages/tangoman/truncate-html-bundle)[ RSS](/packages/tangoman-truncate-html-bundle/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Tangoman TruncateHtml Twig Service
==================================

[](#tangoman-truncatehtml-twig-service)

**Tangoman TruncateHtml Twig Service** truncates html keeping tags.

How to install
--------------

[](#how-to-install)

With composer

```
$ composer require tangoman/truncate-html-bundle
```

Enable the bundle
-----------------

[](#enable-the-bundle)

Don't forget to enable the bundle in the kernel:

```
