surfoo / oauth2-geocaching
Geocaching OAuth 2.0 Client Provider for The PHP League OAuth2-Client
Installs: 3 270
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 4
Forks: 1
Open Issues: 2
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
This package provides Geocaching OAuth 2.0 support for the PHP League's OAuth 2.0 Client.
Installation
To install, use composer:
composer require surfoo/oauth2-geocaching
Usage
Usage is the same as The League's OAuth client, using \League\OAuth2\Client\Provider\Geocaching
as the provider.
Authorization Code Flow
Take a look at demo/index.php
Testing
$ ./vendor/bin/phpunit
License
The MIT License (MIT). Please see License File for more information.