PHPackages                             hsynlms/url-record - 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. hsynlms/url-record

ActiveLibrary

hsynlms/url-record
==================

a simple slug generator

v1.0.2(5y ago)21.4k1MITPHPPHP &gt;=7.4

Since Feb 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/hsynlms/php-url-record)[ Packagist](https://packagist.org/packages/hsynlms/url-record)[ Docs](https://github.com/hsynlms/php-url-record)[ RSS](/packages/hsynlms-url-record/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

php-url-record
--------------

[](#php-url-record)

> A simple slug generator. It's a PHP port from [nopCommerce](https://github.com/nopSolutions/nopCommerce) UrlRecord service.

Why php-url-record?
-------------------

[](#why-php-url-record)

The reason behind this repository is nopCommerce, is an open source ASP.NET Core based ecommerce solution. I just wanted to create a port of the nopCommerce SEO friendly slug generation service which is in production for years and trusted by tens of thousands of stores.

Install
-------

[](#install)

```
$ composer require hsynlms/url-record

```

Usage
-----

[](#usage)

```
use hsynlms\UrlRecord;

$slugGenerator = new UrlRecord();
echo $slugGenerator->GetSeoFriendlyName('nobodY d0es_it better');
// will return -> nobody-d0es_it-better
```

Options
-------

[](#options)

NameTypeDefaultDescriptionnamestring-The string that will be slugifiedconvertNonWesternCharsbooleantrueA value indicating whether non western chars should be convertedallowUnicodeCharsInUrlsbooleanfalseA value indicating whether Unicode chars are allowedCompatibility
-------------

[](#compatibility)

PHP 7 &gt;= 7.4.0 required due to use of built-in [mb\_str\_split](https://www.php.net/manual/en/function.mb-str-split.php) function.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

3

Last Release

1909d ago

PHP version history (2 changes)v1.0.0PHP &gt;=7.2

v1.0.1PHP &gt;=7.4

### Community

Maintainers

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

---

Top Contributors

[![hsynlms](https://avatars.githubusercontent.com/u/1780171?v=4)](https://github.com/hsynlms "hsynlms (10 commits)")

---

Tags

seo-friendlyslugslugifyslugslugifyseo-friendly

### Embed Badge

![Health badge](/badges/hsynlms-url-record/health.svg)

```
[![Health](https://phpackages.com/badges/hsynlms-url-record/health.svg)](https://phpackages.com/packages/hsynlms-url-record)
```

###  Alternatives

[cocur/slugify

Converts a string into a slug.

3.0k66.7M328](/packages/cocur-slugify)[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.1k394.3M1.5k](/packages/nette-utils)[jbroadway/urlify

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

6737.4M62](/packages/jbroadway-urlify)[ausi/slug-generator

Slug Generator

8002.2M22](/packages/ausi-slug-generator)[keyvanakbary/slugifier

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

68187.9k4](/packages/keyvanakbary-slugifier)

PHPackages © 2026

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