{
    "name":        "hwi/oauth-bundle",
    "type":        "symfony-bundle",
    "homepage":    "https://github.com/hwi/HWIOAuthBundle",
    "license":     "MIT",
    "description": "Support for authenticating users using both OAuth1.0a and OAuth2 in Symfony.",
    "keywords":    [
        "authentication",
        "firewall",
        "oauth",
        "oauth1",
        "oauth2",
        "security",

        "amazon",
        "apple",
        "asana",
        "auth0",
        "azure",
        "bitbucket",
        "bitly",
        "box",
        "bufferapp",
        "clever",
        "dailymotion",
        "deezer",
        "deviantart",
        "discogs",
        "disqus",
        "dropbox",
        "eventbrite",
        "eve online",
        "facebook",
        "fiware",
        "flickr",
        "foursquare",
        "genius",
        "github",
        "gitlab",
        "google",
        "hubic",
        "instagram",
        "jawbone",
        "jira",
        "linkedin",
        "mail.ru",
        "odnoklassniki",
        "paypal",
        "qq",
        "reddit",
        "runkeeper",
        "salesforce",
        "sensio connect",
        "sina weibo",
        "slack",
        "sound cloud",
        "spotify",
        "stack exchange",
        "stereomood",
        "strava",
        "toshl",
        "trakt",
        "trello",
        "twitch",
        "twitter",
        "vkontakte",
        "windows live",
        "wordpress",
        "xing",
        "yahoo",
        "yandex",
        "youtube",
        "37signals"
    ],

    "authors": [
        {
            "name": "Alexander",
            "email": "iam.asm89@gmail.com"
        },
        {
            "name": "Joseph Bielawski",
            "email": "stloyd@gmail.com"
        },
        {
            "name": "Geoffrey Bachelet",
            "email": "geoffrey.bachelet@gmail.com"
        },
        {
            "name": "Contributors",
            "homepage": "https://github.com/hwi/HWIOAuthBundle/contributors"
        }
    ],

    "require": {
        "php":                            "^8.1",
        "symfony/deprecation-contracts":  "^3.0",
        "symfony/framework-bundle":       "^5.4 || ^6.3 || ^7.0",
        "symfony/security-bundle":        "^5.4 || ^6.3 || ^7.0",
        "symfony/options-resolver":       "^5.4 || ^6.3 || ^7.0",
        "symfony/form":                   "^5.4 || ^6.3 || ^7.0",
        "symfony/http-client":            "^5.4 || ^6.3 || ^7.0",
        "symfony/routing":                "^5.4 || ^6.3 || ^7.0",
        "symfony/twig-bundle":            "^5.4 || ^6.3 || ^7.0"
    },

    "require-dev": {
        "doctrine/doctrine-bundle":     "^2.4",
        "doctrine/orm":                 "^2.9",
        "symfony/browser-kit":          "^5.4 || ^6.3 || ^7.0",
        "symfony/css-selector":         "^5.4 || ^6.3 || ^7.0",
        "symfony/phpunit-bridge":       "^5.4 || ^6.3 || ^7.0",
        "symfony/property-access":      "^5.4 || ^6.3 || ^7.0",
        "symfony/validator":            "^5.4 || ^6.3 || ^7.0",
        "symfony/stopwatch":            "^5.4 || ^6.3 || ^7.0",
        "symfony/translation":          "^5.4 || ^6.3 || ^7.0",
        "symfony/yaml":                 "^5.4 || ^6.3 || ^7.0",
        "phpunit/phpunit":              "^9.6.11",
        "friendsofphp/php-cs-fixer":    "^3.23",
        "symfony/monolog-bundle":       "^3.4",
        "phpstan/phpstan":              "^1.10",
        "phpstan/phpstan-symfony":      "^1.3",
        "phpstan/extension-installer":  "^1.3",
        "firebase/php-jwt":             "^6.8"
    },

    "config": {
        "allow-plugins": {
            "composer/package-versions-deprecated": true,
            "phpstan/extension-installer": true
        }
    },

    "conflict": {
        "symfony/security-bundle":      ">=6.0,<6.3.4",
        "twig/twig":                    "<1.43|>=2.0,<2.13"
    },

    "scripts": {
        "csfixer": "vendor/bin/php-cs-fixer fix --verbose --dry-run",
        "csfixer-fix": "vendor/bin/php-cs-fixer fix --verbose",
        "phpunit": "vendor/bin/phpunit",
        "phpstan": "vendor/bin/phpstan"
    },

    "suggest": {
        "doctrine/doctrine-bundle":     "to use Doctrine user provider",
        "firebase/php-jwt":             "to use JWT utility functions",
        "symfony/property-access":      "to use FOSUB integration with this bundle",
        "symfony/twig-bundle":          "to use the Twig hwi_oauth_* functions"
    },

    "autoload": {
        "psr-4": {
            "HWI\\Bundle\\OAuthBundle\\": "src/"
        }
    },

    "autoload-dev": {
        "psr-4": {
            "HWI\\Bundle\\OAuthBundle\\Test\\": "src/Test/",
            "HWI\\Bundle\\OAuthBundle\\Tests\\": "tests/"
        }
    },

    "minimum-stability": "dev",
    "prefer-stable": true,

    "extra": {
        "branch-alias": {
            "dev-master": "2.0-dev"
        }
    }
}
