noilty / oauth2-shikimori
Shikimori OAuth 2.0 Client Provider for The PHP Noilty OAuth2-Client
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/noilty/oauth2-shikimori
Requires
- php: ^7.3 || ^8.0
 - ext-json: *
 - league/oauth2-client: ^2.0
 
Requires (Dev)
- eloquent/phony-phpunit: ^6.0 || ^7.1
 - phpunit/phpunit: ^8.0 || ^9.0
 - squizlabs/php_codesniffer: ^3.0
 
This package is auto-updated.
Last update: 2024-06-12 15:27:10 UTC
README
This package provides Google OAuth 2.0 support for the PHP League's OAuth 2.0 Client.
To use this package, it will be necessary to have a Google client ID and client secret. These are referred to as OAUTH_SHIKIMORI_ID and OAUTH_SHIKIMORI_SECRET in the documentation.
Please follow the Shikimori instructions to create the required credentials.
Installation
To install, use composer:
composer require noilty/oauth2-shikimori
Usage
to file knpu_oauth2_client.yaml need to add client:
shikimori_main: type: generic provider_class: Noilty\OAuth2\Client\Provider\Shikimori client_id: '%env(OAUTH_SHIKIMORI_ID)%' client_secret: '%env(OAUTH_SHIKIMORI_SECRET)%' redirect_route: oauth.shikimori_check redirect_params: {} use_state: true
TODO