Download the PHP package abeliani/translated-slug-helper without Composer
On this page you can find all versions of the php package abeliani/translated-slug-helper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download abeliani/translated-slug-helper
More information about abeliani/translated-slug-helper
Files in abeliani/translated-slug-helper
Download abeliani/translated-slug-helper
More information about abeliani/translated-slug-helper
Files in abeliani/translated-slug-helper
Vendor abeliani
Package translated-slug-helper
Short Description Helps to get a valid slug translated or transliterated by a driver collection
License MIT
Homepage https://treecode.ru
Package translated-slug-helper
Short Description Helps to get a valid slug translated or transliterated by a driver collection
License MIT
Homepage https://treecode.ru
Please rate this library. Is it a good library?
Informations about the package translated-slug-helper
TranslatedSlugHelper - helps to get a valid url slug translated or transliterated by a driver collection
The package uses libraries StringTranslator and SlugHelper.
Installation
Examples
Example of offline driver
Blog posts often require a slug to generate a url. We can use a transliteration driver which simply transliteration the symbol table for example: u-у and vice versa.
Example of online driver
Online drivers perform translate a text.
Example of driver chain
An online driver will suddenly be unavailable (for example), in this case we can pass a string for translation from one driver to another along the chain.
If you need to change the word separator. you can pass it through settings object
All versions of translated-slug-helper with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
abeliani/string-translator Version ^1.0
abeliani/slug-helper Version ^1.0
guzzlehttp/guzzle Version ^7.8.0
abeliani/string-translator Version ^1.0
abeliani/slug-helper Version ^1.0
guzzlehttp/guzzle Version ^7.8.0
The package abeliani/translated-slug-helper contains the following files
Loading the files please wait ....