guanguans / music-php
Music Searcher and Downloader. - 音乐搜索下载器。
Fund package maintenance!
Wechat
Installs: 1 103
Dependents: 0
Suggesters: 0
Security: 0
Stars: 713
Watchers: 7
Forks: 67
Open Issues: 0
Type:project
Requires
- php: >=8.4
- guzzlehttp/guzzle: ^7.10
- laravel-zero/framework: ^12.0
- laravel-zero/phar-updater: ^1.4
- laravel/framework: ^12.29
- laravel/prompts: ^0.3
- metowolf/meting: ^1.5
- phpunit/php-timer: ^8.0
- spatie/fork: ^1.2
Requires (Dev)
- bamarni/composer-bin-plugin: ^1.8
- brainmaestro/composer-git-hooks: ^3.0
- buggregator/trap: ^1.13
- dealerdirect/phpcodesniffer-composer-installer: ^1.1
- dereuromark/composer-prefer-lowest: ^0.1
- dg/bypass-finals: ^1.9
- driftingly/rector-laravel: ^2.0
- editorconfig-checker/editorconfig-checker: ^10.7
- ergebnis/composer-normalize: ^2.48
- ergebnis/license: ^2.7
- ergebnis/php-cs-fixer-config: ^6.54
- ergebnis/rector-rules: ^1.6
- friendsofphp/php-cs-fixer: ^3.87
- guanguans/ai-commit: ^1.15
- guanguans/monorepo-builder-worker: ^2.0
- intonate/tinker-zero: ^1.2
- ion-bazan/composer-diff: ^1.13
- larastan/larastan: ^3.7
- laravel-lang/common: ^6.7
- laravel/facade-documenter: dev-main
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.8
- pb30/phpstan-composer-analysis: ^1.0
- pestphp/pest: ^4.1
- pestphp/pest-plugin-faker: ^4.0
- pestphp/pest-plugin-laravel: ^4.0
- pestphp/pest-plugin-type-coverage: ^4.0
- php-mock/php-mock-phpunit: ^2.13
- phpcompatibility/php-compatibility: ^9.3
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^2.1
- phpstan/phpstan-deprecation-rules: ^2.0
- phpstan/phpstan-mockery: ^2.0
- phpstan/phpstan-strict-rules: ^2.0
- phpstan/phpstan-webmozart-assert: ^2.0
- povils/phpmnd: ^3.6
- rector/jack: ^0.2
- rector/rector: ^2.1
- rector/swiss-knife: ^2.3
- rector/type-perfect: ^2.1
- shipmonk/composer-dependency-analyser: ^1.8
- shipmonk/dead-code-detector: ^0.11
- shipmonk/memory-scanner: ^1.0
- shipmonk/name-collision-detector: ^2.1
- shipmonk/phpstan-baseline-per-identifier: ^2.2
- spatie/pest-plugin-snapshots: ^2.2
- spaze/phpstan-disallowed-calls: ^4.6
- staabm/phpstan-todo-by: ^0.2
- symfony/thanks: ^1.4
- symplify/phpstan-extensions: ^12.0
- symplify/phpstan-rules: ^14.7
- tomasvotruba/class-leak: ^2.0
- tomasvotruba/cognitive-complexity: ^1.0
- tomasvotruba/type-coverage: ^2.0
- yamadashy/phpstan-friendly-formatter: ^1.2
Suggests
- ext-pcntl: Required for the fork driver
- dev-master / 6.x-dev
- 6.2.2
- 6.2.1
- 6.2.0
- 6.1.0
- 6.0.4
- 6.0.3
- 6.0.2
- 6.0.1
- 6.0.0
- 5.x-dev
- 5.3.6
- 5.3.5
- 5.3.4
- 5.3.3
- 5.3.2
- 5.3.1
- 5.3.0
- 5.2.9
- 5.2.8
- 5.2.7
- 5.2.6
- 5.2.5
- 5.2.4
- 5.2.3
- 5.2.2
- 5.2.1
- 5.2.0
- 5.1.4
- 5.1.3
- 5.1.2
- 5.1.1
- 5.1.0
- 5.0.2
- 5.0.1
- 5.0.0
- 4.x-dev
- 4.3.1
- 4.3.0
- 4.2.1
- 4.2.0
- 4.1.8
- 4.1.7
- 4.1.6
- 4.1.5
- 4.1.4
- 4.1.3
- 4.1.2
- 4.1.1
- 4.1.0
- 4.0.1
- 4.0.0
- 3.x-dev
- 3.6.4
- 3.6.3
- 3.6.2
- 3.6.1
- 3.6.0
- v3.5.7
- v3.5.6
- v3.5.5
- v3.5.4
- v3.5.3
- v3.5.2
- v3.5.1
- v3.5.0
- v3.4.1
- v3.4.0
- v3.3.3
- v3.3.2
- v3.3.1
- v3.3.0
- v3.2.3
- v3.2.2
- v3.2.1
- v3.2.0
- v3.1.6
- v3.1.5
- v3.1.4
- v3.1.3
- v3.1.2
- v3.1.1
- v3.1.0
- v3.0.10
- v3.0.9
- v3.0.8
- v3.0.7
- v3.0.6
- v3.0.5
- v3.0.4
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0.0
- v3.0.0-rc3
- v3.0.0-rc2
- v3.0.0-rc1
- v3.0.0-beta3
- v3.0.0-beta2
- v3.0.0-beta1
- 2.x-dev
- v2.1.6
- v2.1.5
- v2.1.4
- v2.1.3
- v2.1.2
- v2.1.1
- v2.1.0
- v2.0.0
- 1.x-dev
- v1.1.7
- v1.1.6
- v1.1.5
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.2
- v1.0.1
- v1.0.0
- dev-dependabot/github_actions/actions/labeler-6
- dev-dependabot/github_actions/actions/setup-node-5
- dev-dependabot/github_actions/actions/stale-10
- dev-issue-843-Change_Character
- dev-issue-824-_Call_to_undefined_function_Metowolf_curl_init
- dev-issue-814-请问可以使用docker部署吗?
- dev-issue-722-大佬,这能在win上运行吗?
- dev-issue-691-Ability_to_include_music_metadata_in_downloaded_file
This package is auto-updated.
Last update: 2025-09-17 06:16:04 UTC
README
Music Searcher and Downloader. - 音乐搜索下载器。
⚠️ This tool is only used for learning and communication. It is forbidden to use this tool for commercial purposes. If a legal dispute arises, it has nothing to do with me.
Requirement
- PHP >= 8.4
Installation
Download the music-dl file
curl 'https://raw.githubusercontent.com/guanguans/music-dl/master/builds/music-dl' -o music-dl --progress-bar
chmod +x music-dl
Install via Composer
composer global require guanguans/music-dl:dev-master --dev -v --ignore-platform-req=ext-pcntl # global composer require guanguans/music-dl:dev-master --dev -v --ignore-platform-req=ext-pcntl # local
Usage
╰─ ./music-dl list ─╯ Music DL refs/tags/4.1.6 USAGE: <command> [options] [arguments] completion Dump the shell completion script inspire Display an inspiring quote music Search and download music self-update Allows to self-update a build application thanks Thanks for using this tool.
╰─ ./music-dl --help ─╯ Description: Search and download music Usage: music [options] [--] [<keyword>] Arguments: keyword Search keyword for music Options: -b, --break Specify whether to break after download -d, --directory[=DIRECTORY] Specify the download directory -D, --driver[=DRIVER] Specify the search driver(sync、fork、process) [default: "sync"] -l, --locale[=LOCALE] Specify the locale language [default: "zh_CN"] -s, --sources[=SOURCES] Specify the music sources(tencent、netease、kugou) (multiple values allowed) --isolated[=ISOLATED] Do not run the command if another instance of the command is already running [default: false] --xdebug Display xdebug output --configuration[=CONFIGURATION] Used to dynamically pass one or more configuration key-value pairs(e.g. `--configuration=app.name=guanguans` or `--configuration app.name=guanguans`). (multiple values allowed) -h, --help Display help for the given command. When no command is given display help for the music command --silent Do not output any message -q, --quiet Only errors are displayed. All other output is suppressed -V, --version Display this application version --ansi|--no-ansi Force (or disable --no-ansi) ANSI output -n, --no-interaction Do not ask any interactive question --env[=ENV] The environment the command should run under -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.