I am creating a package that is loaded by PHP composer. I was planning to name the package just as my name shows along with the name of the class: eComEvo/TestableAPI
However, before I do so, could the use of capitals the way I have them create an issue with autoloading through composer?
I think Composer suggests using only lowercase letters for the names. This might be related to the several file systems being possibly case-insensitive or not.
If you look at packagist.org, you only see lower case package names.
all lowercase and dashes for word separation.
See the answer on getcomposer.org
Abstract:
If you don't know what to use as a vendor name, your GitHub username is usually a good bet. While package names are case insensitive, the convention is all lowercase and dashes for word separation.
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.