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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| patchwork/utf8 | 0.82 | Portable UTF-8 and grapheme cluster handling for PHP. Provides pure-PHP fallbacks for mbstring, iconv, and intl Normalizer/grapheme_* functions plus UTF-8-aware replacements for native string functions, improving reliability across servers. | 628 | 647 | 47 | 86K | 0 | 16.8 | 34.8 | Apache-2.0 | 5 years ago | |
| voku/portable-utf8 | 0.81 | High-performance UTF-8 helper library for PHP with portable polyfills for mbstring and intl features. Provides fast string operations, validation, normalization, encoding fixes, and safe text handling across environments without extra extensions. | 519 | 523 | 92 | 314K | 9 | 9.3 | 45.9 | Apache-2.0 | — | |
| voku/anti-xss | 0.81 | PHP AntiXSS library to sanitize untrusted HTML and prevent XSS attacks. Cleans input by removing dangerous tags/attributes, filters CSS/JS vectors, and supports UTF-8 and common encodings. Useful for safely handling user-generated content in apps. | 705 | 723 | 116 | 238K | 20 | 14.7 | 47.5 | MIT | — | |
| yiisoft/strings | 0.79 | Yii Strings provides fast, multibyte-safe string utilities for PHP: StringHelper and NumericHelper, Inflector (pluralize, slug), wildcard pattern matching, and optimized combined regex matching with optional memoization. | 49 | 51 | 17 | 73K | 5 | 25.1 | 52.7 | BSD-3-Clause | 4 months ago | |
| phootwork/lang | 0.78 | phootwork/lang is a lightweight PHP library of language utilities and building blocks, offering common helpers and core abstractions to simplify everyday coding tasks. A small foundation package meant to complement your app or other phootwork components. | 12 | 12 | 0 | 985K | 0 | 26.7 | 65.0 | MIT | 1 year ago | |
| cocur/slugify | 0.78 | 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. | 2,905 | 2,974 | 248 | 1M | 20 | 57.9 | 55.5 | MIT | 4 months ago | |
| league/csv | 0.78 | — | 3,472 | 3,625 | 345 | 5M | 2 | 57.1 | 50.7 | MIT | 3 months ago | |
| scrivo/highlight.php | 0.78 | Server-side syntax highlighting for PHP using highlight.js grammars. Highlight code blocks in many languages, auto-detect when needed, and render HTML with themes—ideal for docs, blogs, and static site generation without requiring a browser. | 710 | 724 | 45 | 2M | 13 | 37.7 | 59.7 | BSD-3-Clause | 3 years ago | |
| symfony/string | 0.78 | Symfony String provides an object-oriented API for working with text safely and consistently. Handle bytes, UTF-8 code points, and grapheme clusters with unified string utilities for slicing, normalization, comparison, and more. | 1,786 | 1,796 | 20 | 16M | 0 | 40.0 | 64.3 | MIT | 1 week ago | |
| khaled.alshamaa/ar-php | 0.77 | Ar-PHP is a PHP library for Arabic language processing: text shaping and normalization, transliteration, date/hijri handling, numbers-to-words, and other Arabic-specific utilities. Useful for Arabic web apps, reports, and localization. | 332 | 331 | 57 | 84K | 8 | 29.5 | 43.1 | NOASSERTION | 1 year ago | |
| spatie/phpunit-snapshot-assertions | 0.77 | Add snapshot testing to PHPUnit with simple assertions for JSON, XML, and text. First run creates snapshots; later runs compare outputs and fail on regressions. Ideal for verifying serialized data and responses with minimal test boilerplate. | 695 | 699 | 77 | 608K | 1 | 34.9 | 47.8 | MIT | 1 month ago |
How can I help you explore Laravel packages today?