Registry / serialization / symfony-var-exporter

symfony-var-exporter

JSON →
library8.1.0phppackagistunverified

Provides tools to export, instantiate, hydrate, clone and lazy-load PHP objects

composer require symfony/var-exporter
INSTALL
IMPORT
SIG · SYMFONY-VAR-EXPORT
S
symfony-var-exporter
serializationphpv8.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

VarExporter
use Symfony\Component\VarExporter\VarExporter;

Export a PHP object as a string

use Symfony\Component\VarExporter\VarExporter; $object = new stdClass(); $object->name = 'test'; $exported = VarExporter::export($object); echo $exported;
Debug
Known issues

No known issues recorded.

Upgrade
Version history
8.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Resources
symfony-var-exporter — pip install symfony-var-exporter · libregistry