简体   繁体   中英

Using Composer in Cpanel

I am trying to make a Wordpress plugin and I want to continue with composer. As composer is preinstalled in cPanel I haven't installed anything else. My plugin is located at /gg/example/example-plugin.php. But when I type into my Terminal composer init and then my package name(/), I insert (gg/example), but I get as error 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_.-] Does anyone know why?

So I accidently selected the wrong depository. That was the problem

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM