voku/portable-ascii
PHP 7+ library to transliterate Unicode to portable ASCII for slugs, URLs, and safe filenames. Works without mbstring/iconv, lightweight and easy to bundle. Based on Unidecode/Stringy-style mappings with handy helper methods.
Architecture fit: Standalone PHP package with zero external dependencies, ideal for environments where mbstring/iconv extensions are unavailable or restricted. Static method design allows easy integration into existing PHP projects without DI overhead.
Integration feasibility: Composer-based installation simplifies dependency management; static class methods enable straightforward replacement of existing string handling logic. Minimal code changes required for core functionality.
Technical risk: Low due to active CI/CD pipelines, high test coverage, and MIT license. However, 0 direct dependents on Packagist raises minor concerns about community validation and edge case coverage. Potential for language-specific quirks in transliteration.
Key questions: How does it handle surrogate pairs and non-BMP characters? What
How can I help you explore Laravel packages today?