v1.3.0 adds new APIs but does not change runtime defaults.
compatibility_mode remains legacyThese continue to behave as before unless you opt into new options:
Toon::convert()Toon::encode()Toon::decode()Toon::estimateTokens()php artisan toon:convert --encode|--decodeToon::convertWith()Toon::encodeWith()Toon::skip()toon_encode_with()Toon::encodeLines()Toon::decodeFromLines()toon_encode_lines()--from, --to, --stats, --delimiter, --mode, --strictcompatibility_mode=legacy.composer validate --strict
vendor/bin/phpunit --configuration phpunit.xml.dist
composer audit
For Laravel app smoke verification:
use Sbsaga\Toon\Facades\Toon;
$toon = Toon::encode($payload);
$decoded = Toon::decode($toon);
$filtered = Toon::encodeWith($payload, fn (array $path, string|int|null $key, mixed $value) => $value);
If encode()/decode() outputs and downstream parsing remain stable in your app, you can ship with low risk.
How can I help you explore Laravel packages today?