sergeylukin/unislug

Make unicode string slug-ready

dev-main 2022-08-16 00:38 UTC

This package is auto-updated.

Last update: 2024-11-16 05:59:20 UTC


README

Library that allows converting unicode strings into slug-ready strings

Installation

Use composer to require in your composer.json:

"sergeylukin/unislug": "dev-master"

or just run composer require sergeylukin/unislug

Usage

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

use Sergeylukin\Unislug;

print_r(Unislug::convert('<UNICODE STRING>');

Development

Install git and composer

git clone https://github.com/sergeylukin/unislug.git
composer install

Run tests:

./vendor/bin/codecept run

License

MIT