Weave Code
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

Exporter Laravel Package

sebastian/exporter

Exports PHP variables to readable, deterministic strings for visualization and debugging. Handles scalars, arrays (including recursion), objects, resources, and special float values (NAN/INF). Useful for test output, diffs, and diagnostics.

View on GitHub
Deep Wiki
Context7
8.0.0

Removed

  • This component is no longer supported on PHP 8.3
7.0.2

Changed

  • Suppress unexpected NAN value was coerced to string warning triggered on PHP 8.5
6.3.2

Changed

  • Suppress unexpected NAN value was coerced to string warning triggered on PHP 8.5
5.1.4

Changed

  • Suppress unexpected NAN value was coerced to string warning triggered on PHP 8.5
7.0.1

Changed

  • Suppress not representable as an int, cast occurred warning triggered on PHP 8.5
6.3.1

Changed

  • Suppress not representable as an int, cast occurred warning triggered on PHP 8.5
5.1.3

Changed

  • Suppress not representable as an int, cast occurred warning triggered on PHP 8.5
7.0.0

Removed

  • This component is no longer supported on PHP 8.2
6.3.0

Added

  • Optional constructor argument to control maximum string length

Deprecated

  • Optional argument for shortenedRecursiveExport() and shortenedExport() to control maximum string length
6.2.0

Added

  • #67: Optional argument for shortenedRecursiveExport() and shortenedExport() to control maximum string length

Changed

  • #69: Do not initialize lazy objects during export
6.1.3

Changed

  • #66: Avoid using the Reflection API for some classes
  • This project now uses PHPStan instead of Psalm for static analysis
6.1.2

Changed

  • #64: Improve performance of Exporter::exportString()
  • #65: Prevent unnecessary calls to str_repeat()

Fixed

  • #62: Do not limit export of arrays by default (to restore BC with versions prior to 6.1.0)
6.1.1

Fixed

  • #61: count(): Recursion detected warning triggered
6.1.0

Added

  • #59: Option to limit export of (large) arrays (to speed up PHPUnit)

Changed

  • #60: Take shortcut when exporting a string
6.0.3

Fixed

  • Fixed code coverage metadata
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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4