2017 © Pedro Peláez
 

symfony-bundle url-auto-converter-bundle

This bundle adds a Twig Extension with a filter for automatically converting urls and emails in a string to html links

image

liip/url-auto-converter-bundle

This bundle adds a Twig Extension with a filter for automatically converting urls and emails in a string to html links

  • Tuesday, December 5, 2017
  • by lsmith
  • Repository
  • 38 Watchers
  • 52 Stars
  • 185,041 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 16 Forks
  • 8 Open issues
  • 10 Versions
  • 5 % Grown

The README.md

UNMAINTAINED

This bundle is no longer maintained. Feel free to fork it if needed., (*1)

LiipUrlAutoConverterBundle

Latest Stable Version Latest Unstable Version Total Downloads Build Status, (*2)

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 "info@liip.ch" for emails., (*3)

Installation

  1. Add this bundle to your composer.json:, (*4)

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

    // 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), (*6)

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., (*7)

Usage

This library adds a filter for twig templates that can be used like:, (*8)

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

License

See LICENSE., (*9)

The Versions

05/12 2017

dev-master

9999999-dev http://liip.ch

This bundle adds a Twig Extension with a filter for automatically converting urls and emails in a string to html links

  Sources   Download

MIT

The Requires

 

The Development Requires

url

07/03 2017

1.3.2

1.3.2.0 http://liip.ch

This bundle adds a Twig Extension with a filter for automatically converting urls and emails in a string to html links

  Sources   Download

MIT

The Requires

 

The Development Requires

url

24/10 2016

1.3.1

1.3.1.0 http://liip.ch

This bundle adds a Twig Extension with a filter for automatically converting urls and emails in a string to html links

  Sources   Download

MIT

The Requires

 

The Development Requires

url

11/12 2015

1.3.0

1.3.0.0 http://liip.ch

This bundle adds a Twig Extension with a filter for automatically converting urls and emails in a string to html links

  Sources   Download

MIT

The Requires

 

The Development Requires

url

26/10 2015

1.2.0

1.2.0.0 http://liip.ch

This bundle adds a Twig Extension with a filter for automatically converting urls and emails in a string to html links

  Sources   Download

MIT

The Requires

 

The Development Requires

url

18/12 2014

dev-lib_autolink

dev-lib_autolink http://liip.ch

This bundle adds a Twig Extension with a filter for automatically converting urls and emails in a string to html links

  Sources   Download

MIT

The Requires

 

url

30/07 2014

1.1.0

1.1.0.0 http://liip.ch

This bundle adds a Twig Extension with a filter for automatically converting urls and emails in a string to html links

  Sources   Download

MIT

The Requires

 

url

13/05 2014

1.1.0-alpha1

1.1.0.0-alpha1 http://liip.ch

This bundle adds a Twig Extension with a filter for automatically converting urls and emails in a string to html links

  Sources   Download

MIT

The Requires

 

url

07/05 2014

1.0.1

1.0.1.0 http://liip.ch

This bundle adds a Twig Extension with a filter for automatically converting urls and emails in a string to html links

  Sources   Download

MIT

The Requires

 

url

19/06 2013

1.0.0

1.0.0.0 http://liip.ch

This bundle adds a Twig Extension with a filter for automatically converting urls and emails in a string to html links

  Sources   Download

MIT

The Requires

 

url