typhoon/exporter

Typhoon Exporter

0.2.2 2023-11-22 00:44 UTC

This package is auto-updated.

Last update: 2024-11-22 03:25:57 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);