From 7488f35ee6d916744771f123271729ac283784ee Mon Sep 17 00:00:00 2001 From: Bryan Pedroza Date: Tue, 3 Mar 2026 10:33:34 -0700 Subject: [PATCH] docs: Update first 2 examples to work as written without throwing DomainException: Provided key is too short --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 65b6c860..689d7a5d 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Example use Firebase\JWT\JWT; use Firebase\JWT\Key; -$key = 'example_key'; +$key = 'example_key_of_sufficient_length'; $payload = [ 'iss' => 'http://example.org', 'aud' => 'http://example.com', @@ -80,7 +80,7 @@ header part: ```php use Firebase\JWT\JWT; -$key = 'example_key'; +$key = 'example_key_of_sufficient_length'; $payload = [ 'iss' => 'http://example.org', 'aud' => 'http://example.com',