All Projects → liip → Liipurlautoconverterbundle

liip / Liipurlautoconverterbundle

Licence: mit
[DEPRECATED] This bundle will add a Twig Extension for templates with a new filter for automatically converting urls and emails in a string to html links

Projects that are alternatives of or similar to Liipurlautoconverterbundle

Sensiodistributionbundle
Base bundle for Symfony Distributions
Stars: ✭ 501 (+845.28%)
Mutual labels:  bundle, symfony, symfony-bundle
Beelabrecaptcha2bundle
💻 Symfony bundle for Google Recaptcha2
Stars: ✭ 47 (-11.32%)
Mutual labels:  bundle, symfony, symfony-bundle
Sentry Symfony
The official Symfony SDK for Sentry (sentry.io)
Stars: ✭ 515 (+871.7%)
Mutual labels:  bundle, symfony, symfony-bundle
Lexikpayboxbundle
LexikPayboxBundle eases the implementation of the Paybox payment system
Stars: ✭ 42 (-20.75%)
Mutual labels:  bundle, symfony, symfony-bundle
Sncredisbundle
A Redis bundle for Symfony supporting Predis and PhpRedis
Stars: ✭ 980 (+1749.06%)
Mutual labels:  bundle, symfony, symfony-bundle
Easy Deploy Bundle
The easiest way to deploy your Symfony applications
Stars: ✭ 446 (+741.51%)
Mutual labels:  bundle, symfony, symfony-bundle
Webfactoryicutranslationbundle
Enables ICU message formatting for translations in Symfony applications.
Stars: ✭ 27 (-49.06%)
Mutual labels:  bundle, symfony, symfony-bundle
Sonatamediabundle
Symfony SonataMediaBundle
Stars: ✭ 415 (+683.02%)
Mutual labels:  bundle, symfony, symfony-bundle
Knpgaufrettebundle
Easily use Gaufrette in your Symfony projects.
Stars: ✭ 646 (+1118.87%)
Mutual labels:  bundle, symfony, symfony-bundle
Sensiogeneratorbundle
Generates Symfony bundles, entities, forms, CRUD, and more...
Stars: ✭ 634 (+1096.23%)
Mutual labels:  bundle, symfony, symfony-bundle
Liipmonitorbundle
Integrates the LiipMonitor library into Symfony
Stars: ✭ 445 (+739.62%)
Mutual labels:  bundle, symfony, symfony-bundle
Symfony
The Symfony PHP framework
Stars: ✭ 26,220 (+49371.7%)
Mutual labels:  bundle, symfony, symfony-bundle
Phone Number Bundle
Integrates libphonenumber into your Symfony2-Symfony4 application
Stars: ✭ 446 (+741.51%)
Mutual labels:  bundle, symfony, symfony-bundle
Foscommentbundle
Threaded comments for Symfony
Stars: ✭ 451 (+750.94%)
Mutual labels:  bundle, symfony, symfony-bundle
Jwtrefreshtokenbundle
Implements a Refresh Token system over Json Web Tokens in Symfony
Stars: ✭ 425 (+701.89%)
Mutual labels:  bundle, symfony, symfony-bundle
Entityauditbundle
Audit for Doctrine Entities
Stars: ✭ 546 (+930.19%)
Mutual labels:  bundle, symfony, symfony-bundle
Doctrinebundle
Symfony Bundle for Doctrine ORM and DBAL
Stars: ✭ 4,225 (+7871.7%)
Mutual labels:  bundle, symfony, symfony-bundle
Doctrineenumbundle
📦 Provides support of ENUM type for Doctrine in Symfony applications.
Stars: ✭ 410 (+673.58%)
Mutual labels:  bundle, symfony, symfony-bundle
Liipfunctionaltestbundle
Some helper classes for writing functional tests in Symfony
Stars: ✭ 604 (+1039.62%)
Mutual labels:  bundle, symfony, symfony-bundle
Craueformflowbundle
Multi-step forms for your Symfony project.
Stars: ✭ 654 (+1133.96%)
Mutual labels:  bundle, symfony, symfony-bundle

UNMAINTAINED

This bundle is no longer maintained. Feel free to fork it if needed.

LiipUrlAutoConverterBundle

Latest Stable Version Latest Unstable Version Total Downloads Build Status

About

This bundle adds a Twig Extension with a filter for automatically converting urls and emails in a string to html links. In the Format: "liip.ch" for urls or "[email protected]" for emails.

Installation

  1. Add this bundle to your composer.json:

    $ php composer.phar require liip/url-auto-converter-bundle:dev-master
    
  2. Add this bundle to your application's kernel:

    // application/ApplicationKernel.php
    public function registerBundles()
    {
      return array(
          // ...
          new Liip\UrlAutoConverterBundle\LiipUrlAutoConverterBundle(),
          // ...
      );
    }
    

Configuration

The supported options for the LiipUrlAutoConverterBundle are: (put in /app/config/config.yml)

liip_url_auto_converter:
    linkclass:
    target: _blank
    debugmode: false
  • "linkClass": css class that will be added automatically to converted links. default: "" (empty)
  • "target": browser link target. default: "_blank"
  • "debugMode": if true, links will be colored with a nasty green color - cool for testing. default: false

All settings are optional.

Usage

This library adds a filter for twig templates that can be used like:

{{ "sometexttofindaurl www.liip.ch inside" | converturls }}

License

See LICENSE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].