respect/string-formatter
Flexible PHP string formatting library with chainable formatters and templated placeholders. Mask, pattern, date, number, and more to transform/format values (e.g., credit cards, phones, amounts) via FormatterBuilder or PlaceholderFormatter modifiers.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| symfony/string | 0.85 | Symfony String component: object-oriented string API that handles bytes, UTF-8 code points, and grapheme clusters consistently. Includes tools for safe string manipulation and normalization, with full docs and contribution resources on symfony.com. | 1,780 | 1,792 | 19 | 17M | 0 | 43.5 | 64.7 | MIT | 1 week ago | |
| php-standard-library/str | 0.83 | Lightweight string utility library for PHP, providing common helpers for formatting, parsing, and safe string handling. Designed as a simple “standard library” add-on with a small API surface and easy composer integration. | 1 | 1 | 0 | 36K | 0 | 17.7 | 63.2 | MIT | 2 months ago | |
| myerscode/utilities-strings | 0.82 | A small PHP utility library providing string helper functions for common formatting and manipulation tasks. Useful for Laravel or plain PHP projects to reduce boilerplate for trimming, case conversion, searching, and other everyday string operations. | 1 | 1 | 0 | 517 | 0 | 14.0 | 37.4 | MIT | 4 months ago | |
| alpixel/phoneformatterbundle | 0.82 | — | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 9 years ago | |
| respect/stringifier | 0.82 | Respect\Stringifier converts any PHP value into a readable string for logging, debugging, and error messages. Use the stringify() function or the HandlerStringifier object. Secure-by-default handling of strings in newer versions. Requires PHP 8.3+. | 26 | 27 | 2 | 710K | 0 | 17.6 | 63.1 | MIT | 2 months ago | |
| coduo/php-matcher | 0.82 | Flexible PHP pattern-matching library for testing and validating complex data structures. Compare arrays, JSON and objects against readable expectations, with rich mismatch descriptions to pinpoint differences. Useful for API response assertions and custom validation rules. | 840 | 847 | 85 | 192K | 4 | 24.2 | 36.9 | MIT | 7 months ago | |
| awaresoft/sonata-formatter-bundle | 0.80 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| 20steps/libphonenumber-for-php | 0.80 | PHP port/wrapper of Google’s libphonenumber, providing tools to parse, validate, and format international phone numbers, detect regions and number types, and handle country calling codes for consistent phone handling in your apps. | 0 | 0 | 0 | 1 | 0 | 0.0 | 4.2 | Apache-2.0 | — | |
| sonata-project/formatter-bundle | 0.80 | — | 84 | 86 | 118 | 19K | 0 | 21.5 | 34.9 | MIT | 7 months ago | |
| digitalrevolution/utils | 0.80 | — | 1 | 1 | 8 | 2K | 1 | 24.5 | 48.2 | MIT | 3 months ago | |
| misd/phone-number-bundle | 0.79 | Symfony bundle integrating Google’s libphonenumber via giggsey/libphonenumber-for-php. Provides services and helpers to parse, validate, format, and geocode phone numbers in Symfony 2–4 apps. Abandoned; use odolbeau/phone-number-bundle instead. | 454 | 459 | 144 | 23K | 43 | 25.6 | 43.1 | — | 8 years ago | |
| loupe/matcher | 0.79 | PHP library for search term highlighting and contextual snippet generation. Tokenize queries (phrases, negation, locale-aware rules), match terms with stop-word filtering and span positions, then format results with highlights and cropped excerpts for user-friendly search output. | 10 | 10 | 1 | 21K | 2 | 23.2 | 53.1 | MIT | 1 week ago | |
| code-lts/cli-tools | 0.79 | — | 2 | 3 | 0 | 4K | 0 | 13.7 | 47.8 | MPL-2.0 | 6 months ago | |
| mmoreram/php-formatter | 0.78 | PHP code formatter with CLI and configurable rules to standardize style across a project. Formats files or entire directories, helps enforce clean, consistent code, and integrates easily into development workflows and CI. | 168 | 169 | 17 | 808 | 2 | 3.0 | 7.7 | MIT | 8 years ago | |
| consolidation/output-formatters | 0.78 | Flexible output formatting utilities for PHP/Laravel CLI apps. Convert structured data to clean tables, JSON, YAML, and more with consistent styling and easy configuration—ideal for Symfony Console/Drush-style commands needing polished, readable output. | 195 | 199 | 15 | 1M | 6 | 3.0 | 53.2 | NOASSERTION | — | |
| alhames/string | 0.77 | A lightweight Laravel/PHP helper package providing convenient string utilities and shortcuts for common text operations such as formatting, cleaning, converting case, and working with substrings, making repetitive string handling tasks easier across your application. | 0 | 0 | 0 | 10 | 0 | 0.3 | 14.4 | MIT | 3 years ago | |
| yamadashy/phpstan-friendly-formatter | 0.76 | PHPStan Friendly Formatter enhances PHPStan output with code frames around errors, a summary of error identifiers and counts, and clean, readable reports. Install via Composer, include the extension in phpstan.neon, and set errorFormat to friendly. | 65 | 65 | 5 | 180K | 1 | 12.1 | 51.5 | MIT | 6 months ago | |
| danielstjules/stringy | 0.76 | Stringy is a PHP library for Unicode-safe string manipulation with a fluent, object-oriented API. Chain helpers for trimming, casing, substrings, padding, replacing, slugifying, and more, without worrying about multibyte issues. | 2,436 | 2,476 | 218 | 87K | 18 | 32.1 | 32.7 | MIT | 9 years ago | |
| voku/stringy | 0.75 | voku/stringy is a PHP string manipulation library with a fluent, chainable API and multibyte/Unicode-safe helpers. It offers common text utilities like trimming, casing, slugging, replacing, and comparisons, aiming for predictable results across encodings. | 180 | 187 | 24 | 39K | 0 | 1.7 | 32.1 | MIT | — | |
| s9e/text-formatter | 0.75 | PHP text formatting library with plugin support for BBCode, Markdown, HTML, and more. Includes predefined bundles, extensive documentation, and a JavaScript port for client-side preview and demos. Install via Composer and integrate customizable parsing/rendering. | 243 | 250 | 42 | 74K | 3 | 18.1 | 37.5 | MIT | 8 months ago |
How can I help you explore Laravel packages today?