PHPackages                             happyr/slugify-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. happyr/slugify-bundle

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

happyr/slugify-bundle
=====================

A Symfony2 Bundle to slugify swedish texts

1.0.1(12y ago)220.7k1MITPHPPHP &gt;=5.3.2

Since Sep 18Pushed 11y ago1 watchersCompare

[ Source](https://github.com/Happyr/SlugifyBundle)[ Packagist](https://packagist.org/packages/happyr/slugify-bundle)[ Docs](http://developer.happyr.se/symfony2-bundles/slugify-bundle)[ RSS](/packages/happyr-slugify-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (4)Used By (0)

HappyR SlugifyBundle
====================

[](#happyr-slugifybundle)

This bundle provides integration of the [URLify](https://github.com/jbroadway/urlify) library into Symfony2. A slugify service and twig filter is provided. This bundle is a modified version of the [ZenstruckSlugifyBundle](https://github.com/kbond/ZenstruckSlugifyBundle). The ZenstruckSlugifyBundle uses the [Slugify](https://github.com/cocur/slugify) library.

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

[](#installation)

1. Install with composer:

    ```
    php composer.phar require happyr/slugify-bundle

    ```
2. Enable the bundle:

    ```
    // app/AppKernel.php

    public function registerBundles()
    {
        $bundles = array(
            // ...
            new HappyR\SlugifyBundle\HappyRSlugifyBundle(),
        );
    }
    ```

Using the service
-----------------

[](#using-the-service)

```
$slugifier = $this->container->get('happyr.slugify.slugifier');
$text = $slugifier->slugify('Hello World!');
echo $text; //prints "hello-world"
```

Using the Twig filter
---------------------

[](#using-the-twig-filter)

```
{{ 'Hello World!'|slugify }} {# hello-world #}
```

Full Default Configuration
--------------------------

[](#full-default-configuration)

```
happy_r_slugify:
    twig: false #set to true to enable twig filter
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 95% 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.

###  Release Activity

Cadence

Every ~116 days

Total

3

Last Release

4439d ago

Major Versions

0.1.0 → 1.0.02013-09-18

### Community

Maintainers

![](https://www.gravatar.com/avatar/401ccc5eea13c60cf807ae982af00e368e2166e2f26d8eb541dcd881a57385bc?d=identicon)[Nyholm](/maintainers/Nyholm)

---

Top Contributors

[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (19 commits)")[![c33s](https://avatars.githubusercontent.com/u/649209?v=4)](https://github.com/c33s "c33s (1 commits)")

---

Tags

slugifySwedish

### Embed Badge

![Health badge](/badges/happyr-slugify-bundle/health.svg)

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

###  Alternatives

[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[symfony/ai-bundle

Integration bundle for Symfony AI components

32642.2k24](/packages/symfony-ai-bundle)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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