Add command to dump required PHP extensions based on vendor/composer/… (#599)

* Add command to dump required PHP extensions based on vendor/composer/installed.json, composer.lock, composer.json (in this order)

* remove unused use

* missing translation

* Adjust dump-extensions

* Add docs for dump-extension command

---------

Co-authored-by: crazywhalecc <jesse2061@outlook.com>
This commit is contained in:
Alexander Over
2025-03-07 03:46:07 +01:00
committed by GitHub
parent 34934368a2
commit 6b227d88ac
6 changed files with 220 additions and 5 deletions

View File

@@ -18,6 +18,7 @@ use SPC\command\dev\PhpVerCommand;
use SPC\command\dev\SortConfigCommand;
use SPC\command\DoctorCommand;
use SPC\command\DownloadCommand;
use SPC\command\DumpExtensionsCommand;
use SPC\command\DumpLicenseCommand;
use SPC\command\ExtractCommand;
use SPC\command\InstallPkgCommand;
@@ -54,6 +55,7 @@ final class ConsoleApplication extends Application
new MicroCombineCommand(),
new SwitchPhpVersionCommand(),
new SPCConfigCommand(),
new DumpExtensionsCommand(),
// Dev commands
new AllExtCommand(),