| 1 | { |
| 2 | "name": "facile-it/php-openid-client", |
| 3 | "description": "OpenID (OIDC) Client", |
| 4 | "type": "library", |
| 5 | "license": "MIT", |
| 6 | "authors": [ |
| 7 | { |
| 8 | "name": "Thomas Vargiu", |
| 9 | "email": "[email protected]" |
| 10 | } |
| 11 | ], |
| 12 | "minimum-stability": "stable", |
| 13 | "config": { |
| 14 | "sort-packages": true, |
| 15 | "allow-plugins": { |
| 16 | "facile-it/facile-coding-standard": true, |
| 17 | "laminas/laminas-component-installer": true, |
| 18 | "php-http/discovery": true |
| 19 | } |
| 20 | }, |
| 21 | "keywords": [ |
| 22 | "openid", |
| 23 | "openid connect", |
| 24 | "oidc", |
| 25 | "oauth2", |
| 26 | "token", |
| 27 | "authentication", |
| 28 | "identity" |
| 29 | ], |
| 30 | "require": { |
| 31 | "php": "^8.1", |
| 32 | "ext-json": "*", |
| 33 | "facile-it/php-jose-verifier": "^0.5.0", |
| 34 | "php-http/discovery": "^1.6", |
| 35 | "psr/http-client": "^1.0", |
| 36 | "psr/http-client-implementation": "^1.0", |
| 37 | "psr/http-factory": "^1.0", |
| 38 | "psr/http-factory-implementation": "^1.0", |
| 39 | "psr/http-message": "^1.0 || ^2.0", |
| 40 | "psr/http-message-implementation": "^1.0", |
| 41 | "psr/http-server-middleware": "^1.0", |
| 42 | "spomky-labs/aes-key-wrap": "^7.0", |
| 43 | "symfony/polyfill-php83": "^1.33", |
| 44 | "web-token/jwt-library": "^3.4.3" |
| 45 | }, |
| 46 | "autoload": { |
| 47 | "files": [ |
| 48 | "src/functions/base64url_decode.php", |
| 49 | "src/functions/base64url_encode.php", |
| 50 | "src/functions/check_server_response.php", |
| 51 | "src/functions/derived_key.php", |
| 52 | "src/functions/get_endpoint_uri.php", |
| 53 | "src/functions/jose_secret_key.php", |
| 54 | "src/functions/parse_callback_params.php", |
| 55 | "src/functions/parse_metadata_response.php" |
| 56 | ], |
| 57 | "psr-4": { |
| 58 | "Facile\\OpenIDClient\\": "src/" |
| 59 | } |
| 60 | }, |
| 61 | "autoload-dev": { |
| 62 | "psr-4": { |
| 63 | "Facile\\OpenIDClientTest\\": "tests/", |
| 64 | "Facile\\OpenIDClient\\ConformanceTest\\": "conformance/src/" |
| 65 | } |
| 66 | }, |
| 67 | "require-dev": { |
| 68 | "dflydev/fig-cookies": "^2.0 || ^3.0", |
| 69 | "facile-it/facile-coding-standard": "^0.5.2 || ^1.0.0", |
| 70 | "friendsofphp/php-cs-fixer": "^3.0", |
| 71 | "laminas/laminas-component-installer": "^2.1 || ^3.0", |
| 72 | "laminas/laminas-config-aggregator": "^1.1", |
| 73 | "laminas/laminas-di": "^3.1", |
| 74 | "laminas/laminas-diactoros": "^2.1 || ^3.0", |
| 75 | "laminas/laminas-servicemanager": "^3.4 || ^4.0", |
| 76 | "php-http/cache-plugin": "^1.6 || ^2.0", |
| 77 | "php-http/curl-client": "^2.0", |
| 78 | "php-http/guzzle7-adapter": "^0.1.0 || ^1.0", |
| 79 | "phpspec/prophecy": "^1.10.3", |
| 80 | "phpspec/prophecy-phpunit": "^2.0", |
| 81 | "phpunit/phpunit": "^10.5.60 || ^11.5.46 || ^12.0.0", |
| 82 | "symfony/console": "^4.3 || ^5.0 || ^6.0 || ^7.0 || ^8.0", |
| 83 | "vimeo/psalm": "^6.14.3" |
| 84 | }, |
| 85 | "suggest": { |
| 86 | "facile-it/php-oauth2-http-client": "To use a PSR HTTP client to interact with OAuth2/OpenID protected APIs", |
| 87 | "web-token/jwt-signature-algorithm-hmac": "To use the client_secret_jwt auth method and symmetric key signature", |
| 88 | "dflydev/fig-cookies": "To use the SessionCookieMiddleware" |
| 89 | }, |
| 90 | "scripts": { |
| 91 | "cs-check": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix --dry-run --diff --allow-risky=yes", |
| 92 | "cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix --diff --allow-risky=yes", |
| 93 | "psalm": "psalm", |
| 94 | "test": "phpunit", |
| 95 | "test-coverage": "phpunit --coverage-text", |
| 96 | "check": [ |
| 97 | "@cs-check", |
| 98 | "@psalm", |
| 99 | "@test" |
| 100 | ] |
| 101 | } |
| 102 | } |