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 into readable, stable string representations for debugging and test output. Handles scalars, arrays, objects, resources, binary strings, and recursive structures with reference tracking for clear visualization.

View on GitHub
Deep Wiki
Context7
8.1.0

Changed

  • #57: Preserve SplObjectStorage iterator position instead of resetting to first element
  • #91: Make binary string output readable for mostly-printable values
8.0.3

Fixed

  • #90: Exporter::toArray() silently drops a private property that is redeclared in a derived class
7.0.3

Fixed

  • #90: Exporter::toArray() silently drops a private property that is redeclared in a derived class
8.0.2
  • #74: Int cast warning when exporting large floats
8.0.1

Changed

  • Explicitly handle NAN, INF, and -INF in exportFloat()
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.
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope
anil/file-picker
broqit/fields-ai