PHPackages                             openlss/func-url - 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. openlss/func-url

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

openlss/func-url
================

URL helper functions such as shortname, urlanem

0.0.8(13y ago)089LGPL-3.0+PHPPHP &gt;=5.3.2

Since Mar 23Pushed 13y ago1 watchersCompare

[ Source](https://github.com/nullivex/func-url)[ Packagist](https://packagist.org/packages/openlss/func-url)[ Docs](http://openlss.org)[ RSS](/packages/openlss-func-url/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (10)Used By (0)

func-url
========

[](#func-url)

URL related functions (shortname, urlname, etc)

Usage
-----

[](#usage)

```
$name = 'This Page';
$urlname = urlname($name); //returns this-page
$shortname = shortname($name); //returns thispage
```

Reference
---------

[](#reference)

### (string) urlname($name)

[](#string-urlnamename)

Equivalent of strtolower and replace all spaces with -

### (string) shortname($name)

[](#string-shortnamename)

Strips all non alpha-numeric characters

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

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

8

Last Release

4843d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/83c8e9d55e3ebafb0621a441a51af8f551f61a274fde5400459a29cc320b7b75?d=identicon)[nullivex](/maintainers/nullivex)

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

---

Top Contributors

[![nullivex](https://avatars.githubusercontent.com/u/2321375?v=4)](https://github.com/nullivex "nullivex (7 commits)")[![doyjo](https://avatars.githubusercontent.com/u/3947855?v=4)](https://github.com/doyjo "doyjo (1 commits)")

---

Tags

urlurlnameshortname

### Embed Badge

![Health badge](/badges/openlss-func-url/health.svg)

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

###  Alternatives

[spatie/url

Parse, build and manipulate URL's

74015.2M115](/packages/spatie-url)[league/uri-components

URI components manipulation library

31937.4M89](/packages/league-uri-components)[jbroadway/urlify

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

6757.8M76](/packages/jbroadway-urlify)[sabre/uri

Functions for making sense out of URIs.

29436.8M44](/packages/sabre-uri)[spomky-labs/base64url

Base 64 URL Safe Encoding/Decoding PHP Library

15441.7M56](/packages/spomky-labs-base64url)[misd/linkify

Converts URLs and email addresses in text into HTML links

1123.1M11](/packages/misd-linkify)

PHPackages © 2026

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