surfoo / oauth2-geocaching
为PHP League的OAuth 2.0-Client提供的Geocaching OAuth 2.0客户端提供者
2.1.0
2023-10-02 18:58 UTC
Requires
- php: ^8.1
- league/oauth2-client: ^2.7
Requires (Dev)
- mockery/mockery: ~1.4
- php-parallel-lint/php-parallel-lint: ~1.3
- phpstan/phpstan: ^1.9
- phpunit/php-code-coverage: ^10.0
- phpunit/phpunit: ^10.0
- rector/rector: ^0.17
- squizlabs/php_codesniffer: ~3.5
README
此软件包为PHP League的OAuth 2.0客户端提供了Geocaching OAuth 2.0支持。
安装
要安装,请使用composer
composer require surfoo/oauth2-geocaching
用法
用法与The League的OAuth客户端相同,使用\League\OAuth2\Client\Provider\Geocaching
作为提供者。
授权码流
请查看demo/index.php
测试
$ ./vendor/bin/phpunit
许可证
MIT许可证(MIT)。请参阅许可证文件以获取更多信息。