A PHP 8.2+ library that helps you both create and/or verify OAuth2 PKCE challenges.
This library is PSR-4 compatible and can be installed via PHP's dependency manager Composer.
composer require danielburger1337/oauth2-pkce
You can find the documentation here.
This library is fully unit tested. It also uses strict static analysis to minimize the possibility of unexpected runtime errors.
composer install
vendor/bin/php-cs-fixer fix
vendor/bin/phpstan
vendor/bin/phpunit
This software is available under the MIT license.