Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Krumo Laravel Package

mmucklo/krumo

Krumo is a drop-in replacement for print_r() and var_dump() that renders PHP arrays and objects as collapsible, color-coded DHTML trees. This Composer-ready fork makes debugging nested data easy, showing types, values, and structure at a glance instead of dumping raw text.

Deep Wiki
Context7

krumo repository (forked, with updates / new features)

Frequently asked questions about Krumo
Is mmucklo/krumo a drop-in replacement for print_r() and var_dump()?
Yes. Krumo renders PHP variables, arrays, and objects as an expandable, color-coded tree instead of raw text. It is intended for developer inspection and does not replace Laravel-native dd(), dump(), Telescope, or Ray tooling.
How do I install mmucklo/krumo with Composer in a Laravel project?
Install it as a development dependency with composer require --dev mmucklo/krumo and pin the version you validate. There is no first-class Laravel integration, so use a thin project helper and gate calls to local or APP_DEBUG environments. Expect manual asset handling and output-format controls.
Which PHP and Laravel versions does mmucklo/krumo support?
The provided context does not list explicit PHP or Laravel version constraints, so validate Composer metadata and the package PHP requirement before adoption. Test against your target Laravel release in a branch and check PHPUnit, asset publishing, CLI, and Octane behavior. Pin the version to avoid PHP or Laravel version drift.
Can I safely use Krumo in a production Laravel application?
Krumo should be treated as a gated development aid, not production runtime tooling. Risks include production leakage, broken HTML or JSON responses, XSS from unsanitized dumps, and memory overhead on large structures. Suppress output outside APP_DEBUG or local, add code review and CI checks that block debug calls, and avoid shared staging exposure.
Does mmucklo/krumo work in Laravel APIs, JSON responses, or queued jobs?
Krumo outputs an HTML and JavaScript DHTML tree, so it can corrupt JSON or API responses if called in the wrong context. It is a poor fit for production APIs, queues, and shared environments without strict controls. Use Laravel-native logging, Telescope, Ray, or exception tooling for those paths and test any CLI behavior separately.
How does Krumo compare with Laravel dd(), dump(), Telescope, and Ray?
Krumo is a variable-dump renderer, not a Laravel framework component. It can be a useful optional dev helper for inspecting complex arrays and objects in local or legacy PHP flows, but it does not replace Laravel's integrated debugging and exception tools. Pilot it alongside native tools and standardize only if it proves materially better for specific scenarios.
Does mmucklo/krumo sanitize output and protect against XSS?
The context flags XSS exposure when dumps render untrusted data and does not confirm output sanitization. Avoid dumping user input, request payloads, or secrets, and escape output where dumps are displayed. Review the package's rendering behavior and add environment gates before using it in any shared interface.
What are the maintenance and support risks of using mmucklo/krumo?
Maintenance confidence is limited because this is a niche fork with an unknown repository and a small community of about 89 stars. Community support is likely thin, so assign internal ownership to platform or developer-experience teams. Budget for periodic compatibility checks and keep a documented removal path to Laravel-native debugging tools.
What license does mmucklo/krumo use, and can I use it commercially?
The package is identified as LGPL-2.1, which requires legal review before distribution or modification. Treat it as a gated development dependency until legal and security reviews clear it. Do not modify vendored code and confirm obligations with your legal team.
How should I trial mmucklo/krumo in a Laravel codebase before adopting it?
Start with legal, security, and provenance review, then composer require --dev in a branch and build a gated helper. Validate Composer metadata, PHP constraints, Laravel compatibility, PHPUnit behavior, asset publishing, and Octane or CLI behavior. Document usage guardrails and pilot with one team before deciding to keep, replace, or remove it.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource