Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hypen in package name for composer.json #246

Open
armababy opened this issue Mar 6, 2016 · 0 comments
Open

Hypen in package name for composer.json #246

armababy opened this issue Mar 6, 2016 · 0 comments

Comments

@armababy
Copy link

armababy commented Mar 6, 2016

Why does not it preserve hypens for package name?
It's perfectly valid to have them named like that.

That makes very hard to share packages across projects trough repositories.

Package name should not be used with studly_case, because it removes valid characters.
Use only studly_case for everything else but not there.

Example: php artisan module:make Super-Blog
Should generate name in composer.json as "name": "pingpong-modules/super-blog" not "name": "pingpong-modules/superblog", not to mention other caveats.
And in module.json it should continue using current format "name": "SuperBlog".

Package name does not need to follow any PSR git have their own rules. Do not confuse package name for module name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@armababy and others