afshinpersian/phpslugger

generate php slug from text

1 2018-01-01 11:50 UTC

This package is not auto-updated.

Last update: 2024-11-12 04:44:48 UTC


README

create url slug from a text and replace special character

Install

composer install
Direct install from composer
composer require afshinpersian/phpslugger

Include it via Composer Autoloader

require __DIR__ . '/vendor/autoload.php';
use PhpSlugger\PhpSlugger;

$phpSlugger = new PhpSlugger();
echo $phpSlugger->slugit('∆ € $ Þ λ  I am A web Developer'); // delta-euro-dollor-l-i-am-a-web-developer

##support