mindplay/readable
mindplay/readable renders any PHP value—arrays, objects, and scalars—as clean, human-readable, valid PHP-like code that's easy to read and diff, with optional parsing back into values. Handy for debugging, logging, snapshots, and config files.
Architecture fit
Log::debug() context, Artisan command output, custom validation messages, test failure output.dump()/dd() via Symfony VarDumper, var_export, json_encode, and Illuminate\Support\Stringable. The distinct niche is a compact, single-line, type-aware rendering suitable for embedding inside a message string. VarDumper is multi-line and diagnostic; var_export is noisy and untyped. Readable is therefore a complement for message construction, not a replacement for a dumper.Integration feasibility
composer require and done. No service provider, no config file, no facade, no migrations. Integration cost is hours, not days.composer.json explicitly.Technical risk
Key questions
Stack fit
require-dev only (tests, local debugging, Artisan helpers) versus require (production exception messages and log context). Dev-only is the safer default and captures most of the value.composer.lock.Migration path
App\Support\ValueFormatter). No call site should reference the vendor API, so a swap to VarDumper or an in-house formatter costs one file.var_export/print_r/gettype concatenation in exception and log messages with wrapper calls, one site at a time. Low-risk, independently revertible changes.composer remove plus a wrapper reimplementation.Compatibility
Sequencing
composer.json, verify PHP/Laravel compatibility, confirm license.Maintenance
Support
Scaling
Failure modes
Ramp-up
How can I help you explore Laravel packages today?