sergeylukin/unislug

Make unicode string slug-ready

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

This package is auto-updated.

Last update: 2024-04-16 04:36:40 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