romac / RRSlug

PHP 5.3 library to convert any kind of text into an URL friendly string (ABANDONED)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RRSlug

Description

RRSlug is a PHP library which aims to turn any kind of text into an URL friendly string.

Usage

<?php

// Include the autoloader.
require_once( dirname( __FILE__ ) . '/Classes/RRSlug.class.php' );

$slugifier = new RRSlug();
$text      = 'Vous êtes les    bienvenus!';
$slug      = $slugifier->filter( $text );

print $slug; // Output: 'vous-etes-les-bienvenus'

License

The code is licensed under the very liberal MIT license.

About

PHP 5.3 library to convert any kind of text into an URL friendly string (ABANDONED)

License:Other


Languages

Language:PHP 100.0%