{ "name": "minishlink/web-push", "type": "library", "description": "Web Push library for PHP", "keywords": [ "push", "notifications", "web", "WebPush", "Push API" ], "homepage": "https://github.com/web-push-libs/web-push-php", "license": "MIT", "authors": [ { "name": "Louis Lagrange", "email": "lagrange.louis@gmail.com", "homepage": "https://github.com/Minishlink" } ], "scripts": { "fix:syntax": "./vendor/bin/php-cs-fixer fix ./src --using-cache=no", "fix:syntax_tests": "./vendor/bin/php-cs-fixer fix ./tests --using-cache=no", "test:unit": "./vendor/bin/phpunit", "test:unit_offline": "./vendor/bin/phpunit --exclude-group=online", "test:typing": "./vendor/bin/phpstan analyse", "test:syntax": "./vendor/bin/php-cs-fixer fix ./src --dry-run --stop-on-violation --using-cache=no", "test:syntax_tests": "./vendor/bin/php-cs-fixer fix ./tests --dry-run --stop-on-violation --using-cache=no" }, "require": { "php": ">=8.1", "ext-curl": "*", "ext-json": "*", "ext-mbstring": "*", "ext-openssl": "*", "guzzlehttp/guzzle": "^7.9.2", "spomky-labs/base64url": "^2.0.4", "symfony/polyfill-php82": "^v1.31.0", "web-token/jwt-library": "^3.3.0|^4.0.0" }, "suggest": { "ext-bcmath": "Optional for performance.", "ext-gmp": "Optional for performance." }, "require-dev": { "phpunit/phpunit": "^10.5.44|^11.5.6", "phpstan/phpstan": "^2.1.2", "friendsofphp/php-cs-fixer": "^v3.91.3", "symfony/polyfill-iconv": "^1.33" }, "autoload": { "psr-4": { "Minishlink\\WebPush\\": "src" } } }