{
    "name": "phplist/web-frontend",
    "description": "A web frontend for phpList, the world's most popular open source newsletter manager",
    "type": "phplist-module",
    "keywords": [
        "phplist",
        "email",
        "newsletter",
        "manager",
        "frontend"
    ],
    "homepage": "https://www.phplist.com/",
    "license": "AGPL-3.0-or-later",
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/tatevikgr/phplist-api-client"
        },
        {
            "type": "vcs",
            "url": "https://github.com/tatevikgr/rss-bundle.git"
        },
        {
            "type": "vcs",
            "url": "https://github.com/phpList/phplist-lan-texts"
        }
    ],
    "minimum-stability": "dev",
    "prefer-stable": true,
    "authors": [
        {
            "name": "Xheni Myrtaj",
            "email": "xheni@phplist.com",
            "role": "Former developer"
        },
        {
            "name": "Oliver Klee",
            "email": "oliver@phplist.com",
            "role": "Former developer"
        },
        {
            "name": "Tatevik Grigoryan",
            "email": "tatevik@phplist.com",
            "role": "Maintainer"
        }
    ],
    "support": {
        "issues": "https://github.com/phpList/web-frontend/issues",
        "forum": "https://discuss.phplist.org/",
        "source": "https://github.com/phpList/web-frontend"
    },
    "require": {
        "php": "^8.1",
        "phplist/core": "dev-dev",
        "symfony/twig-bundle": "^6.4",
        "symfony/webpack-encore-bundle": "^2.2",
        "symfony/security-bundle": "^6.4",
        "tatevikgr/rest-api-client": "dev-main",
        "phplist/phplist-lan-texts": "^2021.05",
        "psr/simple-cache": "^3.0",
        "ext-fileinfo": "*"
    },
    "require-dev": {
        "phpunit/phpunit": "^9.5",
        "guzzlehttp/guzzle": "^7.2.0",
        "squizlabs/php_codesniffer": "^3.5.8",
        "phpstan/phpstan": "^1.10",
        "nette/caching": "^3.1.0",
        "nikic/php-parser": "^v4.10.4",
        "phpmd/phpmd": "^2.9.1",
        "symfony/process": "^6.4",
        "symfony/panther": "*",
        "dbrekelmans/bdi": "*",
        "bshaffer/phpunit-retry-annotations": "^0.3.0"
    },
    "autoload": {
        "psr-4": {
            "PhpList\\WebFrontend\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "PhpList\\WebFrontend\\Tests\\": "tests/"
        }
    },
    "scripts": {
        "list-modules": [
            "PhpList\\Core\\Composer\\ScriptHandler::listModules"
        ],
        "create-directories": [
            "PhpList\\Core\\Composer\\ScriptHandler::createBinaries",
            "PhpList\\Core\\Composer\\ScriptHandler::createPublicWebDirectory"
        ],
        "update-configuration": [
            "PhpList\\Core\\Composer\\ScriptHandler::createGeneralConfiguration",
            "PhpList\\Core\\Composer\\ScriptHandler::createBundleConfiguration",
            "PhpList\\Core\\Composer\\ScriptHandler::createRoutesConfiguration",
            "PhpList\\Core\\Composer\\ScriptHandler::createParametersConfiguration",
            "PhpList\\Core\\Composer\\ScriptHandler::createDotenvConfiguration",
            "PhpList\\Core\\Composer\\ScriptHandler::clearAllCaches"
        ],
        "publish-phplist-texts": [
            "@php bin/console web-frontend:publish-phplist-texts"
        ],
        "post-install-cmd": [
            "@create-directories",
            "@update-configuration",
            "@publish-phplist-texts"
        ],
        "post-update-cmd": [
            "@create-directories",
            "@update-configuration",
            "@publish-phplist-texts"
        ]
    },
    "extra": {
        "symfony-app-dir": "bin",
        "symfony-bin-dir": "bin",
        "symfony-var-dir": "var",
        "symfony-web-dir": "public",
        "symfony-tests-dir": "tests",
        "phplist/core": {
            "bundles": [
                "PhpList\\WebFrontend\\PhpListFrontendBundle",
                "Symfony\\Bundle\\SecurityBundle\\SecurityBundle"
            ],
            "routes": {
                "rest-api": {
                    "resource": "@PhpListFrontendBundle/Controller/",
                    "type": "attribute",
                    "prefix": "/"
                }
            }
        }
    },
    "config": {
        "allow-plugins": {
            "php-http/discovery": true
        }
    }
}
