Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
323 commits
Select commit Hold shift + click to select a range
5c08222
Update to ./run-tests.sh
robertdimarco Apr 1, 2015
265817f
Add'l updates to the ./run-tests.sh script
robertdimarco Apr 1, 2015
c37a2ef
Updates to JWT decode() / verify() path
robertdimarco Apr 1, 2015
bba6a69
Update decode() to require allowed algorithms arg when verifying
robertdimarco Apr 1, 2015
556b8b4
Comment tweaks
robertdimarco Apr 1, 2015
e13d2af
A few additional tests for none algorithm and an incorrect algorithm
Apr 1, 2015
8c344df
Merge pull request firebase/php-jwt#35 from firebase/rd-verify-refactor
Apr 1, 2015
e1cac0c
Merge branch 'rd-verify-refactor' into cr-additional-tests
robertdimarco Apr 1, 2015
aa13abb
Update README to reflect newly-required algorithms arguments
robertdimarco Apr 1, 2015
246462b
Add a few add'l tests
robertdimarco Apr 1, 2015
079c5e4
Merge pull request firebase/php-jwt#36 from firebase/cr-additional-tests
robertdimarco Apr 1, 2015
6ad3146
Bump version to 2.0.0
robertdimarco Apr 1, 2015
5475935
Update composer.json
Apr 1, 2015
bf885bf
Add Changelog
robertdimarco Apr 1, 2015
12367b4
Merge branch 'master' of github.com:firebase/php-jwt
robertdimarco Apr 1, 2015
72565e6
Remove the useless target-dir setting from the composer config
stof Apr 2, 2015
ee4aac9
Provide a leeway time in the verification of timestamps to account fo…
Apr 9, 2015
41fe756
Merge pull request firebase/php-jwt#37 from stof/patch-1
robertdimarco Apr 13, 2015
04a5724
Changed the leeway to be a static variable
May 11, 2015
25d9afc
Reverted some tests from first commit
May 11, 2015
800c397
Added tests with leeway value in nbf and iat
May 15, 2015
7b0d35c
Merge pull request firebase/php-jwt#46 from lcabral37/skew
robertdimarco May 18, 2015
e6436c2
Reset clock skew / leeway after relevant tests & update README
robertdimarco May 18, 2015
7d4405b
Allow using \ArrayAccess as $key in decode
aztech-dev May 19, 2015
5e2670f
Add tests for \ArrayAccess key chooser
May 19, 2015
6ad4366
Merge pull request firebase/php-jwt#48 from aztech-forks/master
robertdimarco May 19, 2015
8f6f3cf
Merge pull request firebase/php-jwt#47 from firebase/rd-improve-test-…
May 20, 2015
9ffb6dd
Update README for v2.1.0 release
robertdimarco May 20, 2015
23859f7
Update package.xml
robertdimarco May 20, 2015
52eea26
Add badges for latest release, total downloads, and license
robertdimarco May 20, 2015
673b065
Adding header options to add
mcocaro Jun 17, 2015
e3c3b96
Adding array_values only
mcocaro Jun 17, 2015
b8cc28f
Merging both arrays together
mcocaro Jun 17, 2015
d724caa
Assigning to header var merged array
mcocaro Jun 17, 2015
f5ba516
Adding test
mcocaro Jun 17, 2015
442b593
Reversing array merge to avoid overwrites of default headers
mcocaro Jun 18, 2015
a8e3d56
Merge pull request firebase/php-jwt#53 from mcocaro/master
robertdimarco Jun 22, 2015
3a3908b
Update README and bump to v2.2.0
robertdimarco Jun 22, 2015
9f9742d
Add firespace\jwt namespace
Jul 1, 2015
b3ec84d
update example to use new namespace
Jul 1, 2015
d25a0c3
fix unexpectedvalueexceptions and add unit tests
Jul 1, 2015
e5c6748
Add composer.phar to gitignore
robertdimarco Jul 5, 2015
81391cd
require a non-empty key to decode a JWT
sjones608 Jul 8, 2015
77ec79d
Merge pull request firebase/php-jwt#59 from Dashron/master
robertdimarco Jul 9, 2015
ce094ce
Aligned the DocBlocks
johanderuijter Jul 15, 2015
dfdb5c6
Merge pull request firebase/php-jwt#62 from johanderuijter/docblock
robertdimarco Jul 16, 2015
b7bbd9b
Merge remote-tracking branch 'upstream/master' into nullkey
sjones608 Jul 21, 2015
1a779fa
add use InvalidArgumentException to account for JWT namespace
sjones608 Jul 21, 2015
fb3b4db
Merge pull request firebase/php-jwt#60 from sjones608/nullkey
robertdimarco Jul 22, 2015
743b249
Update package.xml and README.md for 3.0.0 release
robertdimarco Jul 22, 2015
c0ba03f
Update Travis to use their new container infrastructure
Sep 8, 2015
21552b8
Merge pull request firebase/php-jwt#66 from firebase/jw-travis-upgrade
robertdimarco Sep 8, 2015
5a2f30e
Addresses issue firebase/php-jwt#72 - update link to current spec
robertdimarco Nov 19, 2015
13357e5
Remove null as possible key value in docblock
akeeman Dec 30, 2015
dc498a1
[+]: ".gitattributes" <- prevent installing special files via composer
Feb 1, 2016
2873bd1
Allow timestamp to be specified rather than relying on PHP time() fun…
josephmcdermott Apr 29, 2016
3b24091
Commit with Google email address for CLA
josephmcdermott May 3, 2016
379364f
Remove newline at beginning of run-tests.sh
legoktm Jun 9, 2016
5337f46
Merge pull request firebase/php-jwt#76 from akeeman/patch-1
robertdimarco Jun 16, 2016
f340689
Merge pull request firebase/php-jwt#96 from legoktm/patch-1
robertdimarco Jun 16, 2016
dcc66cb
Merge pull request firebase/php-jwt#93 from josephmcdermott/specify-c…
robertdimarco Jun 16, 2016
b913e3f
Merge pull request firebase/php-jwt#82 from voku/master
robertdimarco Jun 16, 2016
11014c8
Fix exceptions classes (firebase/php-jwt#81)
Maks3w Jun 16, 2016
f332440
Add in support for late static binding, so that developers can extend…
chappy84 Jun 28, 2016
71cf43b
Update README for v4.0.0
robertdimarco Jul 18, 2016
7e97921
Travis: run tests also under PHP 5.6 and PHP 7.0 (firebase/php-jwt#108)
petrkotek Aug 31, 2016
3e42362
bugfix: 'kid' not in given key list
stampycode Dec 12, 2016
ed7f1aa
cosmetic updates
stampycode Jan 24, 2017
5d3eed0
Support RS384 and RS512 (firebase/php-jwt#117)
joostfaassen Jun 19, 2017
9250bcb
draft-ietf-oauth-json-web-token-06 --> rfc7519 (firebase/php-jwt#107)
akeeman Jun 19, 2017
663ad5e
example for RS256 openssl (firebase/php-jwt#125)
HenryNe Jun 19, 2017
84e50cd
Merge pull request firebase/php-jwt#129 from stampycode/patch-1
bshaffer Jun 21, 2017
c5b954b
Fixes travis, adds PHP 7.1, and removes HHVM (firebase/php-jwt#160)
bshaffer Jun 21, 2017
c86f391
Updates JWT::verify to handle openssl errors (firebase/php-jwt#159)
bshaffer Jun 21, 2017
f2eaa2f
removes minimum-stabity from composer.json (firebase/php-jwt#161)
bshaffer Jun 21, 2017
1d79c5a
Add the proper Exception message for all JSON error types by PHP (fir…
gbalduzzi Jun 21, 2017
a8252d3
Detect invalid Base64 encoding in signature (firebase/php-jwt#162)
bshaffer Jun 21, 2017
ddf9d64
Add new line warning to README (firebase/php-jwt#115)
chinedufn Jun 22, 2017
c0a6aff
added `array` type hinting to `decode` method (firebase/php-jwt#101)
hywak Jun 26, 2017
4ae2ae8
Remove outdated package.xml (firebase/php-jwt#165)
bshaffer Jun 26, 2017
da67b59
updates README changelog for v5.0.0 (firebase/php-jwt#166)
bshaffer Jun 27, 2017
528460b
Adds PHP 7.2 to Travis (firebase/php-jwt#186)
bshaffer Jan 26, 2018
c9169e6
Adds ES256 to supported algorithms (firebase/php-jwt#239)
beamerblvd Nov 5, 2019
67b6374
Fixes tests, adds PHP 7.3 (firebase/php-jwt#257)
bshaffer Nov 5, 2019
aa71cfb
Whitespace style fix (firebase/php-jwt#255)
Krisell Nov 12, 2019
3ee9655
Comment typo fix (firebase/php-jwt#253)
stembrain Nov 12, 2019
220e3c8
Clearer variable name in README (firebase/php-jwt#229)
glaand Nov 12, 2019
2e56ca4
Use json_last_error without unnecessary existence check (firebase/php…
Krisell Dec 17, 2019
1e51010
Add php 7.4 to travis (firebase/php-jwt#266)
Feb 11, 2020
723977a
docs: add resource type as 2nd param in decode method (firebase/php-j…
win0err Feb 19, 2020
74054f7
tests: update PHPUnit test classes (firebase/php-jwt#193)
bshaffer Feb 19, 2020
0dbbbdd
docs: fix missed param name (firebase/php-jwt#207)
rtm-ctrlz Feb 19, 2020
660f473
feat: add support for ES256 algorithm (firebase/php-jwt#256)
bshaffer Feb 24, 2020
9314c7a
fix: added keywords to composer.json (firebase/php-jwt#243) (firebase…
NiMeDia Feb 29, 2020
7fd64f4
remove ignore_bit_strings (firebase/php-jwt#276)
bshaffer Mar 5, 2020
75790fa
test: allow for later versions of phpunit (firebase/php-jwt#277)
phil-davis Mar 16, 2020
df1f3a9
feat: adds JWK support (firebase/php-jwt#273)
EricTendian Mar 21, 2020
524201b
test: use keys for testing JWK (firebase/php-jwt#283)
bshaffer Mar 21, 2020
f56529b
chore: code cleanup (firebase/php-jwt#278)
phil-davis Mar 23, 2020
4179ce0
chore: fixes cs and adds cs checking to travis (firebase/php-jwt#284)
bshaffer Mar 25, 2020
b4fd2d2
docs: add JWK usage to README (firebase/php-jwt#307)
bshaffer Oct 26, 2020
e7c0043
fix: add missing use statement in JWK (firebase/php-jwt#303)
pendenga Feb 12, 2021
59aa36b
chore: add phpdoc @throws in JWT::decode (firebase/php-jwt#320)
bborrel Mar 5, 2021
d071f3a
chore: remove leading backslashes in imports (firebase/php-jwt#301)
kewlashu Mar 5, 2021
2e5721a
chore: remove travis, add github actions (firebase/php-jwt#331)
bshaffer May 17, 2021
2d72e3b
fix: allow for null d values in RSA JWK (firebase/php-jwt#330)
bshaffer May 17, 2021
b5b9022
chore(docs): clean up README (firebase/php-jwt#332)
bshaffer May 17, 2021
31b45db
chore(tests): add php 5.3 test
bshaffer May 17, 2021
cf577af
chore(tests): fix entrypoint for php 5.3 (firebase/php-jwt#333)
bshaffer May 17, 2021
9e5264c
chore: fix licence (firebase/php-jwt#329)
exussum12 May 19, 2021
838b481
feat: add ES384 support (firebase/php-jwt#324)
sdrsdr May 19, 2021
be83666
chore: test cleanup (firebase/php-jwt#334)
bshaffer May 20, 2021
fa16366
chore: add tests and docs for rsa with passphrase (firebase/php-jwt#335)
bshaffer May 20, 2021
01914ff
feat: make parseKey public (firebase/php-jwt#337)
bshaffer Jun 22, 2021
ffb1fb8
chore: export-ignore github dir (firebase/php-jwt#338)
romainmenke Jun 23, 2021
7835b2c
chore(tests): add rsa encode/decode (firebase/php-jwt#344)
bshaffer Jun 23, 2021
82d5dd1
feat: add Ed25519 support to JWT (firebase/php-jwt#343)
pwolanin Jun 23, 2021
8179c3f
chore: fix tests (firebase/php-jwt#366)
bshaffer Nov 3, 2021
1da5f11
chore: add PHP 8.1 (firebase/php-jwt#362)
Nov 3, 2021
2824804
feat: add Key object to prevent key/algorithm type confusion (fireba…
bshaffer Nov 4, 2021
47f2b98
chore: explicit third parameter to decode function in README
bshaffer Nov 4, 2021
153be41
fix: phpdoc and exception (firebase/php-jwt#371)
bshaffer Nov 8, 2021
c85a9bd
chore(docs): add throws DomainException for JWT::decode (firebase/php…
dakujem Dec 1, 2021
63e1cfc
chore: switch main to master (firebase/php-jwt#383)
bshaffer Dec 1, 2021
7e50a6b
chore(docs): fix typo in README
bshaffer Dec 1, 2021
648f483
feat!: require Key object, use JSON_UNESCAPED_SLASHES, remove constan…
bshaffer Dec 30, 2021
289695e
chore: update changelog for v6.0.0 (firebase/php-jwt#391)
bshaffer Jan 24, 2022
65b6739
feat!: update return type for JWK methods (firebase/php-jwt#392)
bshaffer Jan 24, 2022
7fdfb5c
fix: correct order for hash_equals (firebase/php-jwt#393)
bshaffer Feb 7, 2022
63c3d3f
fix: use property_exists for checking key id (firebase/php-jwt#395)
bshaffer Feb 7, 2022
301e9ff
chore(docs): fix release URL in README (firebase/php-jwt#394)
makstech Feb 7, 2022
6d3627b
feat: add typing, require PHP 8.0 (firebase/php-jwt#385)
bshaffer Feb 16, 2022
17640df
chore: remove phpunit shim (firebase/php-jwt#401)
bshaffer Feb 16, 2022
820340f
chore: add array casting to README (firebase/php-jwt#402)
bshaffer Feb 16, 2022
13c2742
chore: add phpstan for static analysis (firebase/php-jwt#406)
bshaffer Feb 17, 2022
4a8af8a
chore: update library to phpstan level 7 (firebase/php-jwt#407)
bshaffer Feb 23, 2022
5d864d9
feat: add back compatibility for >= PHP 7.1 (firebase/php-jwt#405)
bshaffer Mar 20, 2022
b0b9a18
chore: add back timestamp var for compatibility (firebase/php-jwt#412)
bshaffer Mar 23, 2022
197d908
chore: update CHANGELOG for v6.1.0
bshaffer Mar 23, 2022
8fe9b54
chore: add missing docblock param for $alg (firebase/php-jwt#419)
berrugo Apr 13, 2022
4e69c0b
fix: add flag to force object (firebase/php-jwt#416)
bshaffer Apr 13, 2022
6058795
fix: revert add flag to force object (firebase/php-jwt#420)
bshaffer Apr 21, 2022
2b1b862
chore: styles for short array and single quotes (firebase/php-jwt#423)
Krisell Apr 23, 2022
57d6035
chore: add cs config, fix git-attributes, removed unused entrypoint.s…
bshaffer Apr 26, 2022
31701d4
feat: add cached keyset (firebase/php-jwt#397)
bshaffer Apr 27, 2022
46c516a
feat: add defaultAlg param (firebase/php-jwt#426)
bshaffer May 13, 2022
91aa304
feat: Add ES256 support to JWK (firebase/php-jwt#399)
bshaffer Jul 14, 2022
49fbdcc
chore: fix styles and phpstan (firebase/php-jwt#440)
bshaffer Jul 14, 2022
a2cae38
fix: cache jwks as string in CachedKeySet (firebase/php-jwt#435)
brandomeniconi Jul 15, 2022
16118f4
chore: misc cleanup (firebase/php-jwt#439)
mehdihasanpour Jul 15, 2022
bd58d4b
chore: update changelog for v6.2.0 (firebase/php-jwt#434)
Tinywan Jul 15, 2022
21c3fc1
chore: prepare v6.3.0 (firebase/php-jwt#441)
bshaffer Jul 15, 2022
42df9fd
fix: casing of GET for PSR compat (firebase/php-jwt#451)
bshaffer Oct 5, 2022
b0e0d56
fix: string interpolation format for php 8.2 (firebase/php-jwt#446)
lvsantos1 Oct 5, 2022
77ec419
chore(docs): add examples for exception handling (firebase/php-jwt#463)
bshaffer Oct 5, 2022
3864599
chore(docs): encode does not accept objects (firebase/php-jwt#457)
t-richard Oct 5, 2022
ded6e95
chore: add release-please (firebase/php-jwt#467)
bshaffer Nov 1, 2022
f5459a4
chore: move changelog into separate file (firebase/php-jwt#469)
bshaffer Nov 1, 2022
4836b28
chore(main): release 6.3.1 (firebase/php-jwt#468)
release-please[bot] Nov 1, 2022
2f9ec88
fix: check kid before using as array index
bshaffer Nov 1, 2022
cadbd65
chore(main): release 6.3.2 (firebase/php-jwt#470)
release-please[bot] Dec 19, 2022
17d15f0
chore: add PHP 8.2 to test suite (firebase/php-jwt#476)
bshaffer Dec 19, 2022
75f5feb
chore: suggest ext-sodium (firebase/php-jwt#474)
peter279k Dec 19, 2022
462e3ec
feat: add support for W3C ES256K (firebase/php-jwt#462)
scrummitch Dec 19, 2022
780bb8e
chore(tests): use assertSame for strict equals (firebase/php-jwt#478)
peter279k Jan 10, 2023
d9445ed
feat: improve caching by only decoding jwks when necessary (firebase/…
bshaffer Feb 8, 2023
f032b1d
chore(main): release 6.4.0 (firebase/php-jwt#477)
release-please[bot] Feb 9, 2023
a4f8a43
chore: fix RS256 example in README
akshaykhale1992 Feb 13, 2023
dc5424a
chore: add ArrayAccess to PHPDoc for JWT::decode (firebase/php-jwt#443)
ppaulis Apr 5, 2023
d85e8f7
chore(docs): add multiple keys example to README (firebase/php-jwt#503)
bshaffer Apr 26, 2023
ab23121
chore: skip null checks when input is never null (firebase/php-jwt#502)
sanmai May 3, 2023
f410eff
chore(docs): example of unsafe header decode in README (firebase/php-…
saranshdhingra May 4, 2023
4d649d2
fix: Allow KID index 0
ajupazhamayil May 9, 2023
9d9be02
fix: Allow KID index 0
ajupazhamayil May 10, 2023
3dd3e19
fix: allow KID of '0' (firebase/php-jwt#505)
bshaffer May 10, 2023
a9ea806
chore: drop support for PHP 7.3 (firebase/php-jwt#495)
bshaffer May 12, 2023
f93f9f1
chore: release 6.5.0
bshaffer May 12, 2023
8e55034
chore(main): release 6.5.0 (firebase/php-jwt#506)
release-please[bot] May 12, 2023
b630dab
chore(docs): add missing imports for example in README (firebase/php-…
SachinBahukhandi May 12, 2023
a58c197
fix: only check iat if nbf is not used (firebase/php-jwt#493)
croensch May 23, 2023
e2cc8b1
feat: allow get headers when decoding token (firebase/php-jwt#442)
kpn13 Jun 13, 2023
a12cd7e
chore: update README
bshaffer Jun 13, 2023
f4ff84f
chore(main): release 6.6.0 (firebase/php-jwt#511)
release-please[bot] Jun 13, 2023
27d4232
feat: add ed25519 support to JWK (public keys) (firebase/php-jwt#452)
edudobay Jun 14, 2023
318b4e6
chore(main): release 6.7.0 (firebase/php-jwt#518)
release-please[bot] Jun 14, 2023
25081c3
fix: handle invalid http responses (firebase/php-jwt#508)
bshaffer Jun 14, 2023
c636c61
chore(tests): remove unused variable
bshaffer Jun 14, 2023
a8568fc
feat: add support for P-384 curve (firebase/php-jwt#515)
lleyton Jun 14, 2023
d72589a
chore(main): release 6.8.0 (firebase/php-jwt#519)
release-please[bot] Jun 20, 2023
3bfd475
fix: accept float claims but round down to ignore them (firebase/php-…
croensch Jun 28, 2023
db79926
chore: add tests for latest fixes (firebase/php-jwt#512)
bshaffer Jun 30, 2023
d01db1c
chore: better BeforeValidException message for decode (firebase/php-j…
vishwarajanand Jul 14, 2023
586a794
chore(main): release 6.8.1 (firebase/php-jwt#524)
release-please[bot] Jul 14, 2023
2202a85
feat: add payload to jwt exception (firebase/php-jwt#521)
bshaffer Oct 4, 2023
947ce99
chore(main): release 6.9.0 (firebase/php-jwt#537)
release-please[bot] Oct 5, 2023
b983af4
feat: allow typ header override (firebase/php-jwt#546)
bshaffer Nov 28, 2023
1b29a2d
chore(main): release 6.10.0 (firebase/php-jwt#547)
release-please[bot] Dec 1, 2023
be4e73f
fix: fix ratelimit cache expiration (firebase/php-jwt#550)
bshaffer Dec 19, 2023
8812222
chore: add php 8.3 to ci (firebase/php-jwt#548)
bshaffer Dec 21, 2023
34a4196
chore: remove jwt incorrect key warning (firebase/php-jwt#560)
vishwarajanand Mar 15, 2024
72d64bc
chore: drop support for PHP 7.4 (firebase/php-jwt#558)
bshaffer May 17, 2024
076bf54
fix: ensure ratelimit expiry is set every time (firebase/php-jwt#556)
bshaffer May 18, 2024
a065638
chore(main): release 6.10.1 (firebase/php-jwt#551)
release-please[bot] May 18, 2024
eec1c7d
chore: add test for parseKey (firebase/php-jwt#565)
bshaffer Aug 7, 2024
566a007
chore: Prepare towards PHP8.4 compatibility (firebase/php-jwt#572)
sbuerk Aug 7, 2024
178857b
fix: support php 8.4 (firebase/php-jwt#583)
ruudk Nov 24, 2024
5f47ab3
chore: fix phpstan (firebase/php-jwt#584)
bshaffer Nov 24, 2024
0594ba7
chore(main): release 6.10.2 (firebase/php-jwt#585)
release-please[bot] Nov 24, 2024
7cbdaa4
fix: refactor constructor Key to use PHP 8.0 syntax (firebase/php-jwt…
mark-burns-0 Nov 24, 2024
a287f1a
docs: fix example to avoid fatal error (firebase/php-jwt#590)
robocoder Jan 23, 2025
90217b2
feat: support octet typed JWK (firebase/php-jwt#587)
apiwat-chantawibul Jan 23, 2025
b42d044
chore(main): release 6.11.0 (firebase/php-jwt#586)
release-please[bot] Jan 23, 2025
e9b88cf
docs: fix examples in README.md (firebase/php-jwt#569)
SySafarila Apr 9, 2025
ea0960b
fix: update error text for consistency (firebase/php-jwt#528)
fredden Apr 9, 2025
6e2986f
chore(main): release 6.11.1 (firebase/php-jwt#597)
release-please[bot] Apr 9, 2025
7779849
fix: use DateTime::ATOM instead of ISO8601 in exception message
ennorehling Apr 9, 2025
39da250
fix: validate iat and nbf on payload (firebase/php-jwt#568)
christiandavilakoobin Apr 16, 2025
9605c8d
chore: move release please from app to github action (firebase/php-jw…
bshaffer Aug 7, 2025
d4b4af4
feat: add SensitiveParameter attribute to security-critical parameter…
meihei3 Aug 7, 2025
01b598a
feat: store timestamp in `ExpiredException` (firebase/php-jwt#604)
cosmastech Aug 19, 2025
b90a694
chore: update release-please secret (firebase/php-jwt#608)
bshaffer Sep 5, 2025
8441566
feat: add key size validation (firebase/php-jwt#613)
bshaffer Dec 15, 2025
31caaf5
chore(main): release 7.0.0 (firebase/php-jwt#614)
bshaffer Dec 15, 2025
2ec2405
Add key size validation (firebase/php-jwt#612)
bshaffer Dec 15, 2025
48271b8
fix: add key length validation for ec keys (firebase/php-jwt#615)
bshaffer Dec 16, 2025
05de0c7
chore(main): release 7.0.2 (firebase/php-jwt#616)
bshaffer Dec 16, 2025
0c58d6e
docs: allow array of strings in head param (firebase/php-jwt#599)
bshaffer Dec 24, 2025
e0a44be
chore: add PHP 8.5 to testing matrix (firebase/php-jwt#617)
bshaffer Jan 15, 2026
8b722fc
chore: add environment for Release Please job (firebase/php-jwt#619)
bshaffer Feb 17, 2026
7335cc8
chore(main): release 7.0.3 (firebase/php-jwt#622)
bshaffer Feb 25, 2026
69e0af0
fix: readme examples, add tests for all examples (firebase/php-jwt#626)
bshaffer Mar 27, 2026
ba4b201
fix: use urlsafeB64Decode everywhere (firebase/php-jwt#627)
bshaffer Mar 27, 2026
3c5d273
chore(main): release 7.0.4 (firebase/php-jwt#629)
bshaffer Mar 27, 2026
750b6cc
fix: RSA from JWK sometimes returns empty Instance (firebase/php-jwt#…
NReib Mar 31, 2026
a304572
chore(main): release 7.0.5 (firebase/php-jwt#630)
bshaffer Apr 1, 2026
965be24
chore: add tests for JWK ASN1 fix (firebase/php-jwt#631)
bshaffer Apr 1, 2026
dc588cf
chore: fix ReadmeTest (firebase/php-jwt#636)
bshaffer May 11, 2026
0370908
fix: validate numeric type of iat, nbf and exp claims in encode (fire…
guillaumedelre May 11, 2026
9f06bc9
Fix: Update homepage URL in composer.json (firebase/php-jwt#635)
glensc May 11, 2026
f64bcb7
fix: skip parsing valid unsupported curves (firebase/php-jwt#638)
bshaffer Jun 9, 2026
8105e70
feat: Add support for PS256 (firebase/php-jwt#637)
Hectorhammett Jun 9, 2026
c44c33d
chore: add back release-please (firebase/php-jwt#640)
bshaffer Jun 11, 2026
01f5577
chore(main): release 7.1.0 (firebase/php-jwt#641)
release-please[bot] Jun 11, 2026
a7df24d
chore: allow guzzlehttp/guzzle 8.0 (firebase/php-jwt#643)
scybulski Jul 23, 2026
4e0167d
fix: limit the number of segments a JWT can be exploded into (firebas…
jeroen1602 Sep 2, 2026
e1adc3b
chore(main): release 7.1.1
release-please[bot] Sep 2, 2026
ed07db1
Merge pull request firebase/php-jwt#645 from googleapis/release-pleas…
Hectorhammett Sep 14, 2026
5e266f8
chore: prepare the JWT library for migration to the monorepo
Hectorhammett Sep 14, 2026
5348bad
chore: prepare for the JWT library migration
Hectorhammett Sep 14, 2026
cd17f15
merge 'php-jwt' into Jwt/
Hectorhammett Sep 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 17 additions & 15 deletions .github/run-package-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,21 +70,22 @@ run_package_test() {

# Update composer to use local packages
local PACKAGE_DEPENDENCIES=(
"Auth,auth"
"Gax,gax"
"CommonProtos,common-protos,4.100"
"BigQuery,cloud-bigquery"
"Core,cloud-core"
"Logging,cloud-logging"
"PubSub,cloud-pubsub"
"Storage,cloud-storage,2.100"
"ShoppingCommonProtos,shopping-common-protos"
"GeoCommonProtos,geo-common-protos,0.1"
"Monitoring,cloud-monitoring"
"Auth,google/auth"
"Gax,google/gax"
"CommonProtos,google/common-protos,4.100"
"BigQuery,google/cloud-bigquery"
"Core,google/cloud-core"
"Jwt,firebase/php-jwt,6.10.0"
Comment thread
Hectorhammett marked this conversation as resolved.
"Logging,google/cloud-logging"
"PubSub,google/cloud-pubsub"
"Storage,google/cloud-storage,2.100"
"ShoppingCommonProtos,google/shopping-common-protos"
"GeoCommonProtos,google/geo-common-protos,0.1"
"Monitoring,google/cloud-monitoring"
)
for i in "${PACKAGE_DEPENDENCIES[@]}"; do
IFS="," read -r PKG_DIR PKG_NAME PKG_VERSION <<< "$i"
if grep -q "\"google/${PKG_NAME}\":" "${DIR}/composer.json"; then
if grep -q "\"${PKG_NAME}\":" "${DIR}/composer.json"; then
# determine local package version
local VERSION
if [ "${STRICT}" = "true" ]; then
Expand All @@ -94,11 +95,12 @@ run_package_test() {
else
VERSION=${PKG_VERSION}
fi
echo "Use local package ${PKG_DIR} as google/${PKG_NAME}:${VERSION} in ${DIR}"
echo "Use local package ${PKG_DIR} as ${PKG_NAME}:${VERSION} in ${DIR}"
# "canonical: false" ensures composer will try to install from packagist when the "--prefer-lowest" flag is set.
local JSON_CONFIG
JSON_CONFIG=$(printf '{"type":"path","url":"../%s","options":{"versions":{"google/%s":"%s"}},"canonical":false}' "${PKG_DIR}" "${PKG_NAME}" "${VERSION}")
composer config "repositories.${PKG_NAME}" -d "${DIR}" "${JSON_CONFIG}"
JSON_CONFIG=$(printf '{"type":"path","url":"../%s","options":{"versions":{"%s":"%s"}},"canonical":false}' "${PKG_DIR}" "${PKG_NAME}" "${VERSION}")
local REPO_NAME="${PKG_NAME#*/}"
composer config "repositories.${REPO_NAME}" -d "${DIR}" "${JSON_CONFIG}"
fi
done

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,5 @@ jobs:
-t $GH_TOKEN \
-p $PG_TOKEN \
--skip Gax:repo \
--skip Auth:repo # Skip repo check for Gax and Auth because issues are enabled
--skip Auth:repo \
--skip Jwt:repo # Skip repo check for Gax, Auth, and Jwt because issues are enabled on those repos
8 changes: 8 additions & 0 deletions .repo-metadata-full.json
Original file line number Diff line number Diff line change
Expand Up @@ -968,6 +968,14 @@
"library_type": "GAPIC_AUTO",
"api_shortname": "ids"
},
"Jwt": {
"language": "php",
"distribution_name": "firebase/php-jwt",
"release_level": "stable",
"client_documentation": "https://github.com/firebase/php-jwt",
"library_type": "CORE",
"api_shortname": ""
},
"Kms": {
"language": "php",
"distribution_name": "google/cloud-kms",
Expand Down
9 changes: 9 additions & 0 deletions Jwt/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
* text=auto

/.gitattributes export-ignore
/.gitignore export-ignore
/.github export-ignore
/.php-cs-fixer.dist.php export-ignore
/phpstan.neon.dist export-ignore
/phpunit.xml.dist export-ignore
/tests export-ignore
24 changes: 24 additions & 0 deletions Jwt/.github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
**PLEASE READ THIS ENTIRE MESSAGE**

Hello, and thank you for your contribution! Please note that this repository is
a read-only split of `googleapis/google-cloud-php`. As such, we are
unable to accept pull requests to this repository.

We welcome your pull request and would be happy to consider it for inclusion in
our library if you follow these steps:

* Clone the parent client library repository:

```sh
$ git clone git@github.com:googleapis/google-cloud-php.git
```

* Move your changes into the correct location in that library. Library code
belongs in `Grafeas/src`, and tests in `Grafeas/tests`.

* Push the changes in a new branch to a fork, and open a new pull request
[here](https://github.com/googleapis/google-cloud-php).

Thanks again, and we look forward to seeing your proposed change!

The Google Cloud PHP team
7 changes: 7 additions & 0 deletions Jwt/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
vendor
phpunit.phar
phpunit.phar.asc
composer.phar
composer.lock
.phpunit.result.cache
.php-cs-fixer.cache
28 changes: 28 additions & 0 deletions Jwt/.php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php

return (new PhpCsFixer\Config())
->setRules([
'@PSR2' => true,
'concat_space' => ['spacing' => 'one'],
'no_unused_imports' => true,
'ordered_imports' => true,
'new_with_braces' => true,
'method_argument_space' => false,
'whitespace_after_comma_in_array' => true,
'return_type_declaration' => [
'space_before' => 'none'
],
'single_quote' => true,
'native_function_invocation' => [
'strict' => false
],
'nullable_type_declaration' => [
'syntax' => 'question_mark',
],
'nullable_type_declaration_for_default_null_value' => true,
])
->setFinder(
PhpCsFixer\Finder::create()
->in(__DIR__)
)
;
Loading
Loading