magroski/permalink

A library to create url friendly slugs

Installs: 33

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/magroski/permalink

v1.0.0 2019-05-22 23:08 UTC

This package is auto-updated.

Last update: 2025-09-23 13:03:15 UTC


README

Latest Stable Version Minimum PHP Version CircleCI GitHub license

A library to create url friendly slugs

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