在 Cpanel 中使用 Composer

Using Composer in Cpanel

我正在尝试制作一个 Wordpress 插件,我想继续使用 Composer。由于 composer 已预装在 cPanel 中,因此我没有安装其他任何东西。我的插件位于 /gg/example/example-plugin.php。但是当我输入我的终端作曲家初始化然后我的包名称(/)时,我插入(gg/example),但我得到错误The package name )(gg/example) is invalid, it should be lowercase and have a vendor name, a forward slash, and a package name, matching: [a-z0-9_.-]+/[a-z0-9_.-] 有谁知道为什么?

所以不小心选错了depository。 这就是问题所在