coduo/php-to-string
Convert any PHP value to a readable string with a tiny wrapper. Supports strings, ints, floats, arrays, objects, callables, and resources—handy for logging, debugging, and error messages. Simple install and use: new StringConverter($value).
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| respect/stringifier | 0.83 | 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 | |
| alexmanno/serializer | 0.82 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | Apache-2.0 | — | |
| yiisoft/json | 0.82 | Yii JSON is a lightweight PHP library for encoding/decoding JSON with sensible defaults. It throws JsonException on errors, supports JsonSerializable, DateTimeInterface and SimpleXMLElement, and includes safe HTML encoding for embedding JSON in pages. | 29 | 28 | 9 | 47K | 2 | 8.2 | 46.8 | BSD-3-Clause | 8 months ago | |
| symfony/string | 0.82 | 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 | |
| apie/serializer | 0.81 | Apie Serializer converts domain objects to stored/customer-facing data and back. Similar to Symfony Serializer but uses ApieSerializerContext for recursive calls. Supports normalize/denormalize, encoding/decoding, and easy extension via custom Normalizer and Denormalizer interfaces. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| nilportugues/serializer-eloquent | 0.81 | Eloquent ORM driver for nilportugues/serializer. Serialize Laravel/Eloquent models and their relationships into the Serializer library’s normalized array format, handling common Eloquent edge cases so you can reuse one consistent serialization layer across your app. | 5 | 5 | 7 | 15 | 2 | 4.6 | 7.9 | MIT | 9 years ago | |
| alhames/string | 0.81 | 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 | |
| arens-myzyri/data-transformation-and-serialization | 0.81 | — | 4 | 4 | 1 | 0 | 0 | 0.7 | — | — | 1 year ago | |
| yiisoft/var-dumper | 0.81 | Yii VarDumper enhances var_dump()/var_export() with safe handling of recursive references, syntax highlighting, and closure export. Includes handy d(), dump(), and dd() helpers for quick debugging. Configurable depth and highlighting. | 21 | 21 | 13 | 53K | 4 | 11.0 | 50.6 | BSD-3-Clause | 8 months ago | |
| alexacrm/strong-serializer | 0.81 | Laravel/PHP utility for robust object/array serialization with strong typing and predictable output. Helps convert data structures for APIs, storage, or transport with configurable serializers and safer handling of nested values. | 1 | 1 | 1 | 8K | 0 | 0.0 | 52.2 | — | — | |
| danielstjules/stringy | 0.81 | 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.81 | 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 | — | |
| pragmarx/ia-str | 0.81 | Framework-agnostic extraction of Laravel’s Illuminate\Support\Str and string helper functions, repackaged under IlluminateAgnostic\Str to avoid namespace conflicts. Use Str:: methods or global str_* helpers in any PHP project, including Laravel apps. | 52 | 52 | 11 | 29K | 3 | 1.3 | 38.2 | MIT | — | |
| braincrafted/json | 0.81 | Object-oriented wrapper around PHP’s json_encode() and json_decode() providing simple static encode/decode methods plus exception-based error handling. Supports decoding to arrays or objects via Json::DECODE_ASSOC and Json::DECODE_OBJECT. | 2 | 3 | 0 | 21 | 0 | 0.3 | — | — | 11 years ago | |
| php-standard-library/str | 0.80 | 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 | |
| egeloen/serializer | 0.80 | — | 29 | 28 | 21 | 1K | 6 | 2.6 | 24.7 | MIT | — | |
| knackline/laravel-toon | 0.80 | — | 1 | 1 | 0 | 1K | 1 | 8.5 | 40.4 | — | 7 months ago | |
| apie/type-converter | 0.80 | Apie Type Converter converts values and objects to other types, ideal for mapping between DTOs and domain objects. Includes a default converter factory and lets you register custom converters to handle your own conversion rules. | 0 | 0 | 0 | 3K | 0 | 0.0 | 47.1 | MIT | — | |
| wayofdev/laravel-symfony-serializer | 0.80 | — | 21 | 21 | 3 | 2K | 1 | 25.9 | 33.7 | MIT | 3 months ago | |
| bornfight/transfer-object-converter | 0.80 | — | 12 | 12 | 0 | 0 | 0 | 2.2 | 3.8 | MIT | 7 years ago |
How can I help you explore Laravel packages today?