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 visualization and debugging. Handles scalars, arrays, objects, resources, binary strings, and recursive references, producing clear output useful in test failures and developer tooling.

View on GitHub
Deep Wiki
Context7
8.1.1

Fixed

  • A lone \n (LF) followed by a lone \r (CR) was incorrectly treated as a single \n\r line ending when exporting a string; these are now treated as two separate line endings
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.
codraw/entity-migrator
codraw/doctrine-extra
codraw/aws-tool-kit
codraw/validator
codraw/workflow
codraw/open-api
codraw/cron-job
codraw/process
codraw/log
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony