typhoon/exporter

Typhoon Exporter

0.2.2 2023-11-22 00:44 UTC

This package is auto-updated.

Last update: 2024-10-22 03:14:19 UTC


README

Latest Stable Version Total Downloads psalm-level type-coverage Code Coverage Mutation testing badge

Installation

composer require typhoon/exporter

Usage

use Typhoon\Exporter\Exporter;

$exported = Exporter::export($value);

file_put_contents('code.php', '<?php return '.$exported.';');

\assert(require_once 'code.php' == $value);