Skip to content
Sections
>> Trisquel >> Packages >> nabia >> php >> php-cocur-slugify
nabia  ]
[ Source: php-cocur-slugify  ]

Package: php-cocur-slugify (3.1-1)

Converts a string to a slug for PHP

This library converts a string to a slug. It includes integrations for Symfony (2 and 3), Silex (1 and 2), Laravel, Twig (1 and 2), Zend Framework 2, Nette Framework, Latte and Plum.

Features:

 * Removes all special characters from a string.
 * Provides custom replacements for Arabic, Austrian, Azerbaijani,
   Brazilian Portuguese, Bulgarian, Burmese, Chinese, Croatian, Czech,
   Esperanto, Estonian, Finnish, French, Georgian, German, Greek,
   Hindi, Hungarian, Italian, Latvian, Lithuanian, Macedonian,
   Norwegian, Polish, Romanian, Russian, Serbian, Spanish, Swedish,
   Turkish, Ukrainian and Vietnamese special characters. Instead of
   removing these characters, Slugify approximates them (e.g., ae
   replaces รค).
 * No external dependencies.
 * PSR-4 compatible.
 * Compatible with PHP >= 5.5.9 and PHP 7.

Other Packages Related to php-cocur-slugify

  • depends
  • recommends
  • suggests

Download php-cocur-slugify

Download for all available architectures
Architecture Package Size Installed Size Files
all 50.5 kB377 kB [list of files]