Ctrl K
ComunidadGuías…

composer.json

Rama develop · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
{
    "name": "ampache/ampache",
    "description": "A web based audio/video streaming application and file manager allowing you to access your music & videos from anywhere, using almost any internet enabled device.",
    "homepage": "https://ampache.org",
    "keywords": ["php", "music", "video", "player", "stream"],
    "type": "project",
    "license": "AGPL-3.0",
    "config":
    {
        "platform": {
            "ext-ctype": "1.0",
            "ext-curl": "1.0",
            "ext-date": "1.0",
            "ext-dom": "1.0",
            "ext-fileinfo": "1.0",
            "ext-gd": "1.0",
            "ext-gmp": "1.0",
            "ext-http": "1.0",
            "ext-iconv": "1.0",
            "ext-libxml": "1.0",
            "ext-mbstring": "1.0",
            "ext-openssl": "1.0",
            "ext-pcre": "1.0",
            "ext-simplexml": "1.0",
            "ext-spl": "1.0",
            "ext-xml": "1.0",
            "ext-xmlreader": "1.0",
            "ext-xmlwriter": "1.0",
            "lib-libxml": "2.7.0"
        },
        "sort-packages": true,
        "allow-plugins": {
            "composer/installers": true,
            "php-http/discovery": true,
            "phpstan/extension-installer": true,
            "oomphinc/composer-installers-extender": false,
            "robloach/component-installer": false
        }
    },
    "require": {
        "php": ">=8.5",
        "ext-curl": "*",
        "ext-dom": "*",
        "ext-fileinfo": "*",
        "ext-gd": "*",
        "ext-iconv": "*",
        "ext-intl": "*",
        "ext-json": "*",
        "ext-libxml": "*",
        "ext-mbstring": "*",
        "ext-openssl": "*",
        "ext-pdo": "*",
        "ext-simplexml": "*",
        "ext-xml": "*",
        "ext-zip": "*",
        "adhocore/cli": "^1.6",
        "ampache/ampacheapi-php": "^2",
        "ampache/php-discogs-api": "^0.3.0",
        "cboden/ratchet": "0.4.*@dev",
        "clue/multicast-react": "^1.1.0",
        "gettext/gettext": "^5",
        "gettext/translator": "^1.2",
        "goat1000/svggraph": "^3.20",
        "gregwar/captcha": "^2.0",
        "idleberg/vite-manifest": "^1.0",
        "james-heinrich/getid3": "dev-master",
        "jumbojett/openid-connect-php": "^1.0",
        "jwilsson/spotify-web-api-php": "^6",
        "krixon/xbmc-php-rpc": "dev-master",
        "kunalvarma05/dropbox-php-sdk": "^0.4",
        "lachlan-00/musicbrainz": "^0.6",
        "nyholm/psr7": "^1.3",
        "nyholm/psr7-server": "^1.0",
        "php-curl-class/php-curl-class": "^13.0",
        "php-di/php-di": "^7.0",
        "phpmailer/phpmailer": "^6",
        "psr/log": "^3",
        "psr/simple-cache": "^3",
        "rmccue/requests": "^2.0",
        "rsd/seafile-php-sdk": "dev-master",
        "sabre/dav": "^4",
        "shrikeh/teapot": "^2.3",
        "slim/slim": "^4.12"
    },
    "require-dev": {
        "friendsofphp/php-cs-fixer": "^3.49",
        "justinrainbow/json-schema": "^6",
        "mikey179/vfsstream": "^1.6",
        "mockery/mockery": "^1.3",
        "phpstan/extension-installer": "^1.3",
        "phpstan/phpstan": "^2",
        "phpstan/phpstan-mockery": "^2",
        "phpunit/phpunit": "^11",
        "rector/rector": "^2",
        "seec/phpunit-consecutive-params": "^1.1"
    },
    "repositories":
    [
        {
            "type": "package",
            "package": {
                "name": "krixon/xbmc-php-rpc",
                "version": "dev-master",
                "source": {
                    "url": "https://github.com/krixon/xbmc-php-rpc.git",
                    "type": "git",
                    "reference": "master"
                },
                "autoload": {
                    "classmap": ["."]
                }
            }
        }
    ],
    "autoload": {
        "psr-4": {
            "Ampache\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Ampache\\": "tests/"
        }
    },
    "scripts": {
        "coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-html build/coverage tests",
        "qa": "composer run-script syntax && composer run-script cs:check && composer run-script tests && composer run-script spelling:check",
        "stan": "vendor/bin/phpstan analyse",
        "stan-baseline": "vendor/bin/phpstan --generate-baseline --allow-empty-baseline",
        "tests": "vendor/bin/phpunit -c phpunit.xml",
        "spec": "vendor/bin/phpunit --filter SpecConformanceTest",
        "spec:refresh": "@php resources/scripts/tests/spec_refresh.php",
        "syntax": "@php resources/scripts/tests/syntax.php",
        "spelling:check": "@php resources/scripts/tests/us_english.php",
        "cs:fix": "vendor/bin/php-cs-fixer fix",
        "cs:check": "vendor/bin/php-cs-fixer fix --dry-run -vv",
        "fix": "composer run-script rector:fix && composer run-script cs:fix && composer run-script api:docs && composer tests",
        "api:docs": [
            "@php resources/scripts/composer/python.php resources/scripts/api-docs/generate_openapi_schemas.py",
            "@php resources/scripts/composer/python.php resources/scripts/api-docs/generate_api_methods_md.py",
            "@php resources/scripts/composer/python.php resources/scripts/api-docs/generate_browse_docs.py"
        ],
        "api:docs:check": [
            "@php resources/scripts/composer/python.php resources/scripts/api-docs/generate_openapi_schemas.py --check",
            "@php resources/scripts/composer/python.php resources/scripts/api-docs/generate_api_methods_md.py --check",
            "@php resources/scripts/composer/python.php resources/scripts/api-docs/generate_browse_docs.py --check",
            "@php resources/scripts/composer/python.php resources/scripts/api-docs/check_openapi_examples.py --strict",
            "@php resources/scripts/composer/python.php resources/scripts/api-docs/lint_openapi.py"
        ],
        "post-autoload-dump": [
            "@php resources/scripts/composer/check_tag_tools.php",
            "@php resources/scripts/composer/install_git_hooks.php"
        ],
        "rector:dry": "rector process -n",
        "rector:fix": "rector process"
    },
    "scripts-descriptions": {
        "coverage": "Generates the code-coverage report into the build/coverage directory",
        "qa": "Runs several qa-related tests",
        "stan": "Performs static analysis",
        "stan-baseline": "Regenerate phpstan baseline",
        "tests": "Executes the unit tests",
        "spec": "Validates the captured Ampache REST, Subsonic and OpenSubsonic responses against the published specifications",
        "spec:refresh": "Re-pins the audited OpenSubsonic spec hash and stamps the compliance date, after a re-audit",
        "syntax": "Performs php syntax checks",
        "spelling:check": "Flags UK/AU English spellings in php, phtml and markdown files; Ampache is written in US English",
        "cs:fix": "Performs code-style corrections on the whole codebase",
        "cs:check": "Performs a code-style dry-run on the whole codebase",
        "fix": "Applies cs:fix and rector:fix together; run before composer qa to clear style/rector failures",
        "api:docs": "Regenerates docs/openapi.json and the API method reference documents (needs Python 3)",
        "api:docs:check": "Fails if the generated API documents are out of date with the code (needs Python 3)",
        "rector:dry": "Performs rector code-migrations dry-run",
        "rector:fix": "Applies pending rector code-migrations"
    },
    "suggest": {
        "ext-gd": "Needed for image resizing and waveforms",
        "ext-http": "Yourls plugin",
        "ext-ldap": "Needed to support ldap authentication",
        "ext-sockets": "Needed for upnp functions",
        "ext-xmlreader": "Needed for upnp functions"
    }
}