cocur/slugify
cocur/slugify converts strings into URL-friendly slugs by stripping special characters and transliterating many languages (e.g., ä → ae). Lightweight with no external dependencies, PSR-4, PHP 8.0–8.5, and integrations for Laravel, Symfony, Twig, and more.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| aferrandini/urlizer | 0.86 | Laravel-friendly URL slug generator that “urlizes” strings into clean, readable slugs with sensible transliteration and customization options. Ideal for turning titles or names into SEO-ready URLs consistently across your app. | 24 | 24 | 9 | 8K | 0 | 0.3 | 53.5 | — | 12 years ago | |
| oleaass/laravel-sluggable | 0.83 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| spatie/string | 0.83 | Fluent string handling for PHP. Wrap strings with string() to get a chainable object with helpers like between(), case conversion, concatenation, and array-offset access for reading/updating characters. Lightweight utility by Spatie, installable via Composer. | 560 | 571 | 26 | 20K | 0 | 28.2 | 25.1 | MIT | 1 month ago | |
| moox/slug | 0.83 | — | 5 | 5 | 0 | 15 | 0 | 16.1 | 9.4 | MIT | 3 months ago | |
| pishran/laravel-persian-slug | 0.82 | — | 55 | 55 | 6 | 615 | 0 | 4.0 | 14.9 | MIT | 3 years ago | |
| zenstruck/slugify-bundle | 0.81 | Deprecated Symfony2 bundle integrating cocur/slugify. Provides a zenstruck.slugify service and optional Twig slugify filter, with configurable mode (iconv/array) and basic settings for separator and empty-value replacements. | 7 | 7 | 0 | 3 | 0 | 0.3 | 0.9 | — | 12 years ago | |
| voku/urlify | 0.81 | PHP URL slugifier/transliterator (URLify.js port) that converts UTF-8 strings into readable, URL-safe slugs and filenames. Supports many languages via mapping tables with Portable ASCII fallback, plus helpers like downcode/transliterate and custom char rules. | 25 | 27 | 5 | 43K | 0 | 0.4 | 44.5 | BSD-3-Clause | — | |
| laragraph/utils | 0.81 | Laravel utilities for building GraphQL servers: shared primitives and helpers used by GraphQL packages. Install via Composer and use as a lightweight foundation for SDL-first (Lighthouse) or code-first (graphql-laravel) setups. | 21 | 21 | 8 | 555K | 0 | 20.2 | 62.6 | MIT | 3 months ago | |
| ausi/slug-generator | 0.80 | Generate clean, customizable slugs for URLs and filenames using PHP’s Transliterator (CLDR). Supports many scripts (Cyrillic, Greek, CJK), locale-aware conversions, configurable valid chars and delimiters, and consistent ASCII output via simple options. | 801 | 803 | 53 | 50K | 10 | 11.0 | 28.2 | MIT | 5 years ago | |
| sylius/resource-bundle | 0.80 | — | 234 | 238 | 166 | 201K | 61 | 51.4 | 76.0 | MIT | 1 month ago | |
| symplify/coding-standard | 0.79 | Ready-to-use PHP CS Fixer and PHP_CodeSniffer rules bundled as a coding standard, with Symplify tooling integration. Helps keep projects consistent, modern, and clean with configurable rule sets suited for CI and team workflows. | 381 | 382 | 26 | 87K | 0 | 3.5 | 32.3 | MIT | 1 year ago | |
| scssphp/scssphp | 0.79 | SCSSPHP is a PHP-based SCSS compiler for compiling .scss to CSS in your apps and build pipelines. Includes PHPUnit test suite, PSR-12 coding standards, and PHPStan static analysis tooling for contributors. | 629 | 640 | 90 | 876K | 11 | 27.6 | 51.7 | MIT | 6 months ago | |
| cviebrock/eloquent-sluggable | 0.78 | Generate SEO-friendly, unique slugs for Laravel Eloquent models automatically. Configure sources, separators, max length, reserved words, and update behavior; supports soft deletes and route model binding. Includes a SlugService and extensible hooks. | 3,993 | 4,061 | 449 | 229K | 0 | 33.4 | 24.4 | MIT | — | |
| drupol/php-conventions | 0.78 | Opinionated PHP conventions toolkit with presets for code style, static analysis, and QA tooling. Helps standardize projects quickly by providing shared configuration and automation-friendly defaults for common PHP workflows. | 7 | 7 | 1 | 2K | 0 | 0.1 | 31.9 | MIT | — | |
| 21torr/snail | 0.77 | — | 1 | 1 | 0 | 660 | 0 | 15.8 | 39.4 | MIT | 3 months ago | |
| punic/punic | 0.74 | Punic is a PHP library for internationalization built on CLDR, offering locale-aware date/time and number formatting, units and currencies, parsing, and localized names. Useful for apps needing consistent i18n output without heavy dependencies. | 154 | 157 | 24 | 44K | 8 | 12.7 | 35.9 | NOASSERTION | 3 years ago |
How can I help you explore Laravel packages today?