{"id":18298618,"url":"https://github.com/fusionauth/fusionauth-example-php-jwt","last_synced_at":"2025-04-09T09:17:40.980Z","repository":{"id":71200503,"uuid":"327428836","full_name":"FusionAuth/fusionauth-example-php-jwt","owner":"FusionAuth","description":"PHP JWT example code","archived":false,"fork":false,"pushed_at":"2024-07-28T05:55:30.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-04-05T17:38:06.872Z","etag":null,"topics":["fusionauth","jwt","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FusionAuth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-06T21:04:04.000Z","updated_at":"2024-07-28T05:55:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"24e01668-b601-4158-b406-01be7cd6a5ba","html_url":"https://github.com/FusionAuth/fusionauth-example-php-jwt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-example-php-jwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-example-php-jwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-example-php-jwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-example-php-jwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FusionAuth","download_url":"https://codeload.github.com/FusionAuth/fusionauth-example-php-jwt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248008624,"owners_count":21032556,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fusionauth","jwt","php"],"created_at":"2024-11-05T15:06:33.549Z","updated_at":"2025-04-09T09:17:40.955Z","avatar_url":"https://github.com/FusionAuth.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP JWT Examples\n\nThis code uses the PHP Firebase JWT library: https://github.com/firebase/php-jwt and runs through a couple of different scenarios.\n\n* building a JWT with the 'hmac' algorithm\n* building a JWT with the 'rsa' algorithm\n* building a JWT with the 'hmac' algorithm but verifying additional claims\n* decoding an invalid JWT with the 'hmac' algorithm\n\n## To install\n\nThis assumes you have composer installed. If not, [get it here](https://getcomposer.org/doc/00-intro.md).\n\n`composer install`\n\n`php \u003cfile\u003e`\n\n## Environment\n\nTested on php 8.2.8.\n\nJWTs originally built by [FusionAuth](http://fusionauth.io).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffusionauth%2Ffusionauth-example-php-jwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffusionauth%2Ffusionauth-example-php-jwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffusionauth%2Ffusionauth-example-php-jwt/lists"}