加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
composer.json 9.18 KB
一键复制 编辑 原始数据 按行查看 历史
{
"name": "guanguans/music-dl",
"description": "Music Searcher and Downloader. - 音乐搜索下载器。",
"license": "MIT",
"type": "project",
"keywords": [
"song",
"music",
"download",
"dl",
"search"
],
"authors": [
{
"name": "guanguans",
"email": "ityaozm@gmail.com"
}
],
"homepage": "https://guanguans.github.io/music-dl",
"support": {
"issues": "https://github.com/guanguans/music-dl/issues",
"source": "https://github.com/guanguans/music-dl"
},
"require": {
"php": ">=8.2",
"guzzlehttp/guzzle": "^7.9",
"laravel-zero/framework": "^11.0",
"laravel-zero/phar-updater": "^1.4",
"laravel/prompts": "^0.1",
"metowolf/meting": "^1.5",
"phpunit/php-timer": "^6.0 || ^7.0",
"spatie/fork": "^1.2",
"symfony/polyfill-php83": "^1.31"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"brainmaestro/composer-git-hooks": "^3.0",
"dg/bypass-finals": "^1.8",
"driftingly/rector-laravel": "^1.2",
"ergebnis/composer-normalize": "^2.44",
"ergebnis/license": "^2.5",
"ergebnis/php-cs-fixer-config": "^6.37",
"guanguans/ai-commit": "dev-main",
"guanguans/monorepo-builder-worker": "^1.4",
"intonate/tinker-zero": "^1.2",
"larastan/larastan": "^2.9",
"laravel-lang/common": "^6.4",
"laravel/facade-documenter": "dev-main",
"mockery/mockery": "^1.6",
"nunomaduro/collision": "^8.5",
"pestphp/pest": "^2.36 || ^3.0",
"pestphp/pest-plugin-faker": "^2.0 || ^3.0",
"pestphp/pest-plugin-laravel": "^2.4 || ^3.0",
"pestphp/pest-plugin-type-coverage": "^2.8 || ^3.0",
"php-mock/php-mock-phpunit": "^2.10",
"phpstan/extension-installer": "^1.4",
"rector/rector": "^1.2",
"rector/swiss-knife": "^1.0",
"roave/security-advisories": "dev-latest",
"vimeo/psalm": "^5.26"
},
"suggest": {
"ext-pcntl": "Required for the fork driver"
},
"repositories": {
"facade-documenter": {
"type": "vcs",
"url": "git@github.com:laravel/facade-documenter.git"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
},
"files": [
"app/Support/helpers.php"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"bin": [
"builds/music-dl"
],
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true,
"ergebnis/composer-normalize": true,
"infection/extension-installer": true,
"pestphp/pest-plugin": true,
"phpstan/extension-installer": true
},
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": true,
"target-directory": "vendor-bin"
},
"cleaner-ignore": {
"ergebnis/composer-normalize": true,
"ergebnis/license": true,
"foo/bar": [
"baz*"
]
},
"hooks": {
"post-merge": [
"composer checks"
],
"pre-commit": [
"composer checks"
]
},
"phpstan": {
"includes": [
"extension.neon"
]
}
},
"scripts": {
"post-install-cmd": [
"@cghooks add --ignore-lock",
"@cghooks update"
],
"post-update-cmd": [
"@cghooks update"
],
"post-autoload-dump": [],
"ai-commit": "@php ./vendor/bin/ai-commit commit --generator=github_copilot_cli --ansi",
"ai-commit-no-verify": "@ai-commit --commit-options=--no-verify",
"benchmark": "@php ./vendor/bin/phpbench run --warmup=1 --retry-threshold=1 --iterations=3 --revs=5 --ansi -v",
"cghooks": "@php ./vendor/bin/cghooks --ansi -v",
"checks": [
"@composer-normalize",
"@composer-validate",
"@md-lint",
"@lint",
"@style-lint",
"@test",
"@test-type-coverage",
"@psalm",
"@rector-dry-run"
],
"composer-bin-all-update": "@composer bin all update --ansi -v",
"composer-normalize": "@composer normalize --dry-run --diff --ansi -v",
"composer-require-checker": "@php ./vendor/bin/composer-require-checker check --config-file=composer-require-checker.json composer.json --ansi -v",
"composer-require-checker-json": "@php ./vendor/bin/composer-require-checker check --config-file=composer-require-checker.json composer.json --ansi -v --output=json | jq",
"composer-unused": "@php ./vendor/bin/composer-unused --ansi -v",
"composer-updater": "@php ./composer-updater --highest-php-binary=/opt/homebrew/opt/php@8.3/bin/php --ansi",
"composer-updater-dry-run": "@composer-updater --dry-run",
"composer-validate": "@composer validate --check-lock --strict --ansi -v",
"facade-lint": "@facade-update --lint",
"facade-update": [
"@putenvs",
"$PHP82 -f ./facade.php -- App\\\\Facades\\\\Music"
],
"infection": "./vendor/bin/infection --test-framework=pest --show-mutations --threads=4 --ansi -v",
"lint": [
"@putenvs",
"for DIR in .; do find $DIR -maxdepth 1 -type f -name '*.php' -type f ! -name 'xxx.php' -exec $PHP82 -l {} \\; 2>&1 | (! grep -v '^No syntax errors detected'); done",
"for DIR in ./app ./config ./tests; do find $DIR -type f -name '*.php' -type f ! -name 'xxx.php' -exec $PHP82 -l {} \\; 2>&1 | (! grep -v '^No syntax errors detected'); done"
],
"mark-finish": "printf '\\n!\\n!\\t\\033[0;32m%s\\033[0m\\n!\\n\\n' \"Finished\"",
"mark-separate": "printf '\\n!\\n!\\t\\033[0;33m%s\\033[0m\\n!\\n\\n' \"----------------\"",
"mark-start": "printf '\\n!\\n!\\t\\033[0;36m%s\\033[0m\\n!\\n\\n' \"Started\"",
"md-fix": "@md-lint --fix",
"md-lint": "lint-md --config .lintmdrc ./*.md ./.github/ ./docs/",
"pest": "@php ./vendor/bin/pest --coverage --profile --colors=always",
"pest-coverage": "@pest --coverage-html=./build/phpunit/ --coverage-clover=./clover.xml",
"pest-migrate-configuration": "@pest --migrate-configuration",
"pest-type-coverage": "@pest --type-coverage",
"phpstan": "@php ./vendor/bin/phpstan analyse --ansi -v",
"phpstan-baseline": "@phpstan --generate-baseline --allow-empty-baseline",
"post-merge": [
"composer install --ansi -v"
],
"psalm": "@php ./vendor/bin/psalm",
"psalm-baseline": "@psalm --update-baseline",
"putenvs": [
"@putenv PHP73=/opt/homebrew/opt/php@7.3/bin/php",
"@putenv PHP74=/opt/homebrew/opt/php@7.4/bin/php",
"@putenv PHP80=/opt/homebrew/opt/php@8.0/bin/php",
"@putenv PHP81=/opt/homebrew/opt/php@8.1/bin/php",
"@putenv PHP82=/opt/homebrew/opt/php@8.2/bin/php",
"@putenv PHP83=/opt/homebrew/opt/php@8.3/bin/php"
],
"rector": "@php ./vendor/bin/rector --ansi -v",
"rector-clear-cache": "@rector --clear-cache",
"rector-clear-cache-dry-run": "@rector-clear-cache --dry-run",
"rector-custom-rule": "@rector custom-rule",
"rector-detect-node": "@rector detect-node --loop",
"rector-dry-run": "@rector --dry-run",
"rector-list-rules": "@rector list-rules",
"rector-setup-ci": "@rector setup-ci",
"release": "@php ./vendor/bin/monorepo-builder release --ansi -v",
"release-major": "@release major",
"release-major-dry-run": "@release-major --dry-run",
"release-minor": "@release minor",
"release-minor-dry-run": "@release-minor --dry-run",
"release-patch": "@release patch",
"release-patch-dry-run": "@release-patch --dry-run",
"sk": "@php ./vendor/bin/swiss-knife --ansi -v",
"sk-check-commented-code": "@sk check-commented-code ./app --line-limit=5",
"sk-check-conflicts": "@sk check-conflicts ./app ./config ./resources ./tests",
"sk-finalize-classes": "@sk finalize-classes ./app",
"sk-finalize-classes-dry-run": "@sk-finalize-classes --dry-run",
"sk-find-multi-classes": "@sk find-multi-classes ./app",
"sk-namespace-to-psr-4": "@sk namespace-to-psr-4 ./app --namespace-root=App",
"style-fix": "@php ./vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php --show-progress=dots --ansi -v",
"style-lint": "@style-fix --diff --dry-run",
"test": "@pest",
"test-coverage": "@pest-coverage",
"test-migrate-configuration": "@pest-migrate-configuration",
"test-type-coverage": "@pest-type-coverage",
"vhs": "vhs < music-dl.tape"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化