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
dump-to-console-development
artisan-toolbox/dump-to-console
claude-code
debugging
dump-to-console
artisan
console-output
benchmarking
local-development

Use Artisan Toolbox Dump To Console to inspect Laravel values without stopping execution or changing application output.

Install
php artisan boost:add-skill artisan-toolbox/dump-to-console

Save this content to: .claude/skills/dump-to-console-development/SKILL.md

# Artisan Toolbox Dump To Console

Use this skill when temporary debug values must appear in a local console while HTTP responses, streams, downloads, jobs, or command output remain intact.

## Primary Goal

Send short-lived development dumps to the package listener with the smallest useful probe and remove probes when the investigation is complete.

## Workflow

1. Install `artisan-toolbox/dump-to-console` with Composer.
2. Start `php artisan dump:listen`, or use the package's `dumps` process through `php artisan dev` when supported.
3. Call `dc($value)` at the application location being inspected. Use named arguments when several values need meaningful labels.
4. Use `Benchmark::dc(fn () => ...)` when both a result and its duration are useful.
5. Add `ArtisanToolbox\DumpToConsole\Concerns\Dumpable` to an application class only when fluent `$object->dc()` calls improve its development workflow.
6. Publish `dump-to-console-config` only when changing the host or disabling `artisan dev` integration.

## References

- `config/dump-to-console.php`
- `README.md`

## Examples

```php
$order = dc(Order::findOrFail($id));

dc(request: request()->all(), order: $order);
```

```php
use Illuminate\Support\Benchmark;

$report = Benchmark::dc(fn () => $service->generateReport());
```

## Anti-patterns

- Do not expose the TCP listener on an untrusted interface; its protocol has no authentication or encryption.
- Do not treat best-effort dumps as persistent logs or application control flow.
- Do not use dumps for secrets or values that should not appear in a developer terminal.
- Do not publish configuration when the local defaults are sufficient.

Artisan Toolbox Dump To Console

Use this skill when temporary debug values must appear in a local console while HTTP responses, streams, downloads, jobs, or command output remain intact.

Primary Goal

Send short-lived development dumps to the package listener with the smallest useful probe and remove probes when the investigation is complete.

Workflow

  1. Install artisan-toolbox/dump-to-console with Composer.
  2. Start php artisan dump:listen, or use the package's dumps process through php artisan dev when supported.
  3. Call dc($value) at the application location being inspected. Use named arguments when several values need meaningful labels.
  4. Use Benchmark::dc(fn () => ...) when both a result and its duration are useful.
  5. Add ArtisanToolbox\DumpToConsole\Concerns\Dumpable to an application class only when fluent $object->dc() calls improve its development workflow.
  6. Publish dump-to-console-config only when changing the host or disabling artisan dev integration.

References

  • config/dump-to-console.php
  • README.md

Examples

$order = dc(Order::findOrFail($id));

dc(request: request()->all(), order: $order);
use Illuminate\Support\Benchmark;

$report = Benchmark::dc(fn () => $service->generateReport());

Anti-patterns

  • Do not expose the TCP listener on an untrusted interface; its protocol has no authentication or encryption.
  • Do not treat best-effort dumps as persistent logs or application control flow.
  • Do not use dumps for secrets or values that should not appear in a developer terminal.
  • Do not publish configuration when the local defaults are sufficient.
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