Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 462 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 462 Bytes

slug

slug is a free function to create beautiful URL for blog or website.

Installation

require_once ('/path/to/slug.php');

Usage

Load the library

$slug = new Slug();

Create URL

$title 	= 'slug is a free function to create beautiful URL.';
$url 	= $slug->create($title);
echo $url;

Result

slug-is-a-free-function-to-create-beautiful-url

License

slug is licensed under the MIT license. See License File for more information.