PHPackages                             outofboxlab/linkify-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. outofboxlab/linkify-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

outofboxlab/linkify-bundle
==========================

Converts URLs and email addresses in text into HTML links

086PHP

Since Nov 29Pushed 2y agoCompare

[ Source](https://github.com/Out-Of-Box-Lab/linkify-bundle)[ Packagist](https://packagist.org/packages/outofboxlab/linkify-bundle)[ RSS](/packages/outofboxlab-linkify-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

LinkifyBundle
=============

[](#linkifybundle)

[![Build Status](https://camo.githubusercontent.com/46ea2079ab44fd98406e9346bf67721971defd0eb88c0e42ea48ab29cab5a27c/68747470733a2f2f7472617669732d63692e6f72672f6d6973642d736572766963652d646576656c6f706d656e742f6c696e6b6966792d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/misd-service-development/linkify-bundle)

Adds [Linkify](https://github.com/misd-service-development/php-linkify) to your Symfony application, which converts URLs and email addresses in HTML (or plain text) to HTML links.

Installation
------------

[](#installation)

1. Add the LinkifyBundle to your dependencies:

    ```
    $ composer require misd/linkify-bundle

    ```
2. Register the bundle in your application:

    ```
    // app/AppKernel.php

    class AppKernel extends Kernel
    {
        // ...
        public function registerBundles()
        {
            $bundles = array(
                // ...
                new Misd\LinkifyBundle\MisdLinkifyBundle(),
                // ...
            );
        }
        // ...
    }

    ```

Usage
-----

[](#usage)

Use the service:

```
$text = $this->container->get('misd.linkify')->process('This is my text containing a link to www.example.com.');

```

In a Twig template:

```
{{ "This is my text containing a link to www.example.com."|linkify }}

```

In a PHP template:

```

```

### Options

[](#options)

*Requires Linkify v1.1.1 or newer.*

An array of options can be passed (see the Linkify docs for futher details). So to add the `link` class to created links:

Using the service:

```
$text = $this->container->get('misd.linkify')->process('This is my text containing a link to www.example.com.', array('attr' => array('class' => 'link')));

```

In a Twig template:

```
{{ "This is my text containing a link to www.example.com."|linkify({'attr': {'class': 'link'}}) }}

```

In a PHP template:

```

```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 Bus Factor1

Top contributor holds 97.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/fb4d3d9116e83106413a629e3bf6a18ed3d845ab5837e2d46c1d3ce3082e4412?d=identicon)[outofboxlab](/maintainers/outofboxlab)

---

Top Contributors

[![thewilkybarkid](https://avatars.githubusercontent.com/u/1784740?v=4)](https://github.com/thewilkybarkid "thewilkybarkid (40 commits)")[![jean-gui](https://avatars.githubusercontent.com/u/1479073?v=4)](https://github.com/jean-gui "jean-gui (1 commits)")

### Embed Badge

![Health badge](/badges/outofboxlab-linkify-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/outofboxlab-linkify-bundle/health.svg)](https://phpackages.com/packages/outofboxlab-linkify-bundle)
```

###  Alternatives

[namelesscoder/inline-page-editing

Edit content elements directly in page module without switching views

214.8k](/packages/namelesscoder-inline-page-editing)[busayo/laravel-yearly

Provides helper function to get the current year and a range of years

114.1k](/packages/busayo-laravel-yearly)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
