PHPackages                             magroski/permalink - 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. magroski/permalink

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

magroski/permalink
==================

A library to create url friendly slugs

v1.0.0(6y ago)033MITPHPPHP ^7.1

Since May 23Pushed 6y ago1 watchersCompare

[ Source](https://github.com/magroski/permalink)[ Packagist](https://packagist.org/packages/magroski/permalink)[ RSS](/packages/magroski-permalink/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (6)Versions (2)Used By (0)

Permalink
=========

[](#permalink)

[![Latest Stable Version](https://camo.githubusercontent.com/ee7a3d2d3a1fdd9c13687bae0051719657e1ef39509b67786323395342dcb5b0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6167726f736b692f7065726d616c696e6b2e7376673f7374796c653d666c6174)](https://packagist.org/packages/magroski/permalink)[![Minimum PHP Version](https://camo.githubusercontent.com/7a09b828563f7738e2e72ec4aade8144538bf5d41e1e2e718815c57e3416089f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e312d3838393242462e7376673f7374796c653d666c6174)](https://php.net/)[![CircleCI](https://camo.githubusercontent.com/54c35ca76028985a4898d853e6b40e7ca61d221755a1a009896f3989cd697049/68747470733a2f2f636972636c6563692e636f6d2f67682f6d6167726f736b692f7065726d616c696e6b2e7376673f7374796c653d736869656c64)](https://circleci.com/gh/magroski/permalink)[![GitHub license](https://camo.githubusercontent.com/f48f8d6cf609f5b181b9c3218a85175fe8a5809c7ea400347f39697a5d55065d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c6174)](https://github.com/magroski/permalink/blob/master/LICENSE)

A library to create url friendly slugs

Usage examples
--------------

[](#usage-examples)

```
$text = 'my post title';
$permalink = Permalink::create($text); # my-post-title

$text = 'created';
$prefix = 'i-';
$suffix = '-this'
$permalink = Permalink::create($text, $prefix, $suffix); # i-created-this
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Unknown

Total

1

Last Release

2544d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7de9d1243823f8924284bcd592f89b99c2e1c010e2388a14f435efc0abc1ed33?d=identicon)[magroski](/maintainers/magroski)

---

Top Contributors

[![magroski](https://avatars.githubusercontent.com/u/2437681?v=4)](https://github.com/magroski "magroski (2 commits)")

---

Tags

permalink

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/magroski-permalink/health.svg)

```
[![Health](https://phpackages.com/badges/magroski-permalink/health.svg)](https://phpackages.com/packages/magroski-permalink)
```

PHPackages © 2026

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