Fast, framework-agnostic slug generator for PHP, Unicode-first with ASCII transliteration on demand.
composer require pharaonic/php-slugifyuse Pharaonic\Slugify\Slugify;
Slugify::make('Hello World'); // hello-world
Slugify::make('مرحبا بالعالم'); // مرحبا-بالعالم
Slugify::make('Crème brûlée', '-', true); // creme-bruleeFull documentation: PHP Slugify Documentation.
See SUPPORT.md and SECURITY.md. Contributions are welcome; see CONTRIBUTING.md.
MIT. See LICENSE.
