Registry / serialization / brick-varexporter

brick-varexporter

JSON →
library0.7.0phppackagistunverified

A powerful alternative to var_export() that can export closures and objects without __set_state().

composer require brick/varexporter
INSTALL
IMPORT
SIG · BRICK-VAREXPORTER
B
brick-varexporter
serializationphpv0.7.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 Brick\VarExporter\VarExporter;

Export a variable to PHP code.

use Brick\VarExporter\VarExporter; $data = ['foo' => 'bar', 'baz' => 42]; echo VarExporter::export($data);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.7.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Amazon
1
OpenAI (training)
1
Resources
brick-varexporter — pip install brick-varexporter · libregistry