ausi/slug-generator
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.
Str::slug()) that suffice for your needs and your PHP version is <8.0.For Executives:
"This updated, MIT-licensed library now supports PHP 8.0+, automating SEO-friendly URLs (e.g., /blog/how-to-xyz) with industry-standard Unicode rules and stricter type safety. It’s a low-risk, turnkey solution to reduce manual work, improve user experience, and support global audiences—without ongoing maintenance costs. With CLDR updates and PHP 8 compatibility, it future-proofs our content strategy while aligning with modern tech stacks. Integration effort is minimal, and the payoff is scalability for blogs, catalogs, or multilingual content."
For Engineering:
"The ausi/slug-generator package (v1.1.1) now includes PHP 8.0 support, type safety fixes (via PHPStan), and updated CLDR fallback rules—critical for our migration path. It handles edge cases like accented characters, spaces, and special symbols without regex nightmares, and integrates seamlessly with Laravel. Trade-offs: Still no active maintenance, but the core logic is stable and forkable. Recommend testing with PHP 8.x and your target languages upfront—this version removes a major compatibility blocker."
How can I help you explore Laravel packages today?