PHPackages                             gibilogic/slugger-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. gibilogic/slugger-bundle

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

gibilogic/slugger-bundle
========================

GiBiLogic Slugger Bundle

1.0.7(6y ago)03.0k↓80%[1 issues](https://github.com/gibilogic/slugger-bundle/issues)MITPHPPHP &gt;=5.3.3

Since Oct 2Pushed 6y ago3 watchersCompare

[ Source](https://github.com/gibilogic/slugger-bundle)[ Packagist](https://packagist.org/packages/gibilogic/slugger-bundle)[ Docs](http://www.gibilogic.com)[ RSS](/packages/gibilogic-slugger-bundle/feed)WikiDiscussions master Synced 3w ago

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

GiBiLogic SluggerBundle
=======================

[](#gibilogic-sluggerbundle)

A small bundle that contains a ready-to-use slugger service for Symfony 2.

The slugify operation:

- Removes new lines (`\n`) and/or carriage returns (`\r`)
- Replaces extended characters ("æ" and "Ñ", for example) into their "plain" versions ("ae" and "n", for example)
- Converts the entire string in lower case (by using the `mb_strtolower` function)
- Replaces every non-letter non-number character with a separator (defaults to `-`)

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

[](#installation)

Add this bundle to the composer.json of your application with the console command:

```
composer require gibilogic/slugger-bundle
```

Or, if you are using `composer.phar`, use the console command:

```
php composer.phar require gibilogic/slugger-bundle
```

Add the bundle to your `AppKernel.php`:

```
...
new Gibilogic\SluggerBundle\GibilogicSluggerBundle(),
...
```

Usage
-----

[](#usage)

Inside your Symfony 2 application, get the slugger service:

```
/* @var \Gibilogic\SluggerBundle\Service\Slugger $sluggerService */
$sluggerService = $this->container->get('gibilogic.slugger');
```

Then call its `slugify` method:

```
$slug = $sluggerService->slugify($string);
```

You can also specify the slug character separator (defaults to `-`):

```
$slug = $sluggerService->slugify($string, '_');
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 75% 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 ~201 days

Recently: every ~218 days

Total

8

Last Release

2507d ago

### Community

Maintainers

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

---

Top Contributors

[![zanardigit](https://avatars.githubusercontent.com/u/2579986?v=4)](https://github.com/zanardigit "zanardigit (3 commits)")[![Ingannatore](https://avatars.githubusercontent.com/u/691298?v=4)](https://github.com/Ingannatore "Ingannatore (1 commits)")

---

Tags

slugslugifyslugger

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gibilogic-slugger-bundle/health.svg)

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

###  Alternatives

[nette/utils

🛠 Nette Utils: lightweight utilities for string &amp; array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.

2.1k417.9M1.7k](/packages/nette-utils)[jbroadway/urlify

A fast PHP slug generator and transliteration library that converts non-ascii characters for use in URLs.

6757.8M75](/packages/jbroadway-urlify)[ausi/slug-generator

Slug Generator

8002.3M24](/packages/ausi-slug-generator)[keyvanakbary/slugifier

A full-featured, simple, clean and pure functional implementation for creating slugs

68190.3k4](/packages/keyvanakbary-slugifier)[voku/urlify

PHP port of URLify.js from the Django project. Transliterates non-ascii characters for use in URLs.

254.2M8](/packages/voku-urlify)[symfony-cmf/slugifier-api

Provides a basic slugifier interface to transform text into strings suitable for URLs

281.8M5](/packages/symfony-cmf-slugifier-api)

PHPackages © 2026

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