台风/exporter

台风 Exporter

0.2.2 2023-11-22 00:44 UTC

This package is auto-updated.

Last update: 2024-09-22 02:56:16 UTC


README

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

安装

composer require typhoon/exporter

用法

use Typhoon\Exporter\Exporter;

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

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

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