sergeylukin / unislug
Make unicode string slug-ready
dev-main
2022-08-16 00:38 UTC
Requires
- php: >=7.0.0
Requires (Dev)
- codeception/codeception: ^4.2
- codeception/module-asserts: ^1.0.0
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
git clone https://github.com/sergeylukin/unislug.git
composer install
Run tests:
./vendor/bin/codecept run
License
MIT