{
    "name": "stellarwp/stellarpay",
    "description": "The best way to accept payments on WordPress sites.",
    "version": "1.9.1",
    "type": "wordpress-plugin",
    "author": "StellarWP <hey@stellarwp.com>",
    "license": "GPL v2 or later",
    "autoload": {
        "psr-4": {
            "StellarPay\\": "src/"
        },
        "files": [
            "src/Core/Helpers/functions.php"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "StellarPay\\Tests\\": "tests"
        },
        "classmap": [
            "vendor/woocommerce-phpunit-framework"
        ]
    },
    "require": {
        "php": "^7.4 || ^8.2",
        "stripe/stripe-php": "^v16.1.1",
        "ext-json": "*",
        "illuminate/collections": "^8.83",
        "stellarwp/superglobals": "^1.2",
        "moneyphp/money": "^3.3",
        "stellarwp/db": "^1.1",
        "stellarwp/validation": "^1.4",
        "myclabs/php-enum": "^1.8",
        "stellarwp/models": "^1.2.2",
        "stellarwp/arrays": "^1.2",
        "stellarwp/admin-notices": "^2",
        "woocommerce/action-scheduler": "^3.9"
    },
    "require-dev": {
        "phpunit/phpunit": "^9.6",
        "composer/installers": "^2.2",
        "wp-coding-standards/wpcs": "^3.0",
        "phpcompatibility/phpcompatibility-wp": "*",
        "roave/security-advisories": "dev-latest",
        "wordpress/wordpress": "@dev",
        "yoast/phpunit-polyfills": "^4.0",
        "phpstan/phpstan": "^1.12",
        "szepeviktor/phpstan-wordpress": "^1.3",
        "phpstan/extension-installer": "^1.3",
        "php-stubs/woocommerce-stubs": "^8.7",
        "slevomat/coding-standard": "^8.15",
        "automattic/vipwpcs": "^3.0",
        "phpstan/phpstan-phpunit": "^1.3",
        "johnbillion/wp-compat": "dev-trunk",
        "fakerphp/faker": "*",
        "stellarwp/php-stubs-woocommerce-subscriptions": "^6.7"
    },
    "scripts": {
        "strauss": [
            "bin/strauss-installer.sh",
            "@php bin/strauss.phar",
            "composer dump-autoload"
        ],
        "pre-install-cmd": [
            "bin/woocommerce-test-framework-setup.sh"
        ],
        "post-install-cmd": [
            "bin/wordpress-phpunit-test-initialize.sh",
            "bin/woocommerce-test-framework-setup.sh",
            "@strauss"
        ],
        "post-update-cmd": [
            "bin/wordpress-phpunit-test-initialize.sh",
            "bin/woocommerce-test-framework-setup.sh",
            "@strauss"
        ],
        "test": "vendor/bin/phpunit",
        "phpcs": "vendor/bin/phpcs --standard=phpcs.xml",
        "phpcbf": "vendor/bin/phpcbf --standard=phpcs.xml",
        "phpstan": "vendor/bin/phpstan analyse --memory-limit=-1"
    },
    "config": {
        "platform": {
            "php": "7.4"
        },
        "allow-plugins": {
            "composer/installers": true,
            "dealerdirect/phpcodesniffer-composer-installer": true,
            "automattic/jetpack-autoloader": true,
            "phpstan/extension-installer": true
        }
    },
    "extra": {
        "installer-paths": {
            "vendor/{$vendor}/{$name}/": [
                "type:wordpress-plugin"
            ]
        },
        "strauss": {
            "target_directory": "vendor/vendor-prefixed",
            "namespace_prefix": "StellarPay\\Vendors",
            "classmap_prefix": "StellarPay_Vendors_",
            "constant_prefix": "StellarPay_VENDORS_",
            "packages": [
                "illuminate/collections",
                "stripe/stripe-php",
                "stellarwp/container-contract",
                "stellarwp/admin-notices",
                "stellarwp/superglobals",
                "stellarwp/db",
                "moneyphp/money",
                "stellarwp/validation",
                "myclabs/php-enum",
                "fakerphp/faker",
                "stellarwp/models",
                "stellarwp/arrays"
            ],
            "delete_vendor_packages": true,
            "delete_vendor_files": true,
            "include_modified_date": false,
            "override_autoload": {
                "stripe/stripe-php": {
                    "files": [
                        "data",
                        "lib"
                    ]
                },
                "moneyphp/money": {
                    "files": [
                        "resources",
                        "src"
                    ]
                }
            }
        },
        "phpstan/extension-installer": {
            "includes": [
                "extension.neon"
            ]
        }
    },
    "repositories": [
        {
            "type": "git",
            "url": "https://github.com/wordpress/wordpress-develop.git"
        }
    ]
}
