| Package Data | |
|---|---|
| Maintainer Username: | orkhan |
| Maintainer Contact: | o@inkster.az (Orkhan) |
| Package Create Date: | 2013-06-19 |
| Package Last Update: | 2013-10-05 |
| Language: | PHP |
| License: | Unknown |
| Last Refreshed: | 2025-11-03 15:13:31 |
| Package Statistics | |
|---|---|
| Total Downloads: | 646 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 1 |
| Total Watchers: | 1 |
| Total Forks: | 0 |
| Total Open Issues: | 2 |
Generate a URL friendly "slug" from a given string. (Skips ASCII)
First, you'll need to add the package to the require attribute of your composer.json file:
{
"require": {
"ink/ink-str": "dev-master"
},
}
Afterwards, run composer update from your command line.
Then, add 'Ink\InkStr\InkStrServiceProvider', to the list of service providers in app/config/app.php
and add 'InkStr' => 'Ink\InkStr\InkStr' to the list of class aliases in app/config/app.php.
$title = 'Türkçe yazılım. Azəricə yazılım';
$slug = InkStr::slug($title);
echo $slug; // Returns "türkçe-yazılım-azəricə-yazılım"
InkTranslatable was written by Orkhan Maharramli and released under the MIT License. See the LICENSE file for details.
Copyright 2013 Orkhan Maharramli