hippies/wordpress-slugs

Create wordpress like title slugs without wordpress as a dependency

Maintainers

Package info

github.com/hippies/wordpress-slugs

pkg:composer/hippies/wordpress-slugs

Statistics

Installs: 50

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 1

0.1 2015-02-02 13:24 UTC

This package is not auto-updated.

Last update: 2026-03-01 00:04:08 UTC


README

Create wordpress like title slugs without wordpress as a dependency

Code taken from Wordpress 4.1

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

How to use:


<?php 
require 'vendor/autoload.php';

use WordpressSlugs\GenerateSlug; 

echo GenerateSlug::returnSlug('Hello everyone') . "\n";
echo GenerateSlug::returnSlug('Marîn Döbèl') . "\n";