-
-
Notifications
You must be signed in to change notification settings - Fork 715
VendorName
Jan Sorgalla edited this page Aug 25, 2017
·
4 revisions
If you create a project based on ReactPHP, that's awesome!
Please release it under your name instead of using the react vendor name for it. The namespace implies affiliation with the project, which is confusing to users if it is not the case. What this means is that you should not use React as the top-level PHP namespace, and not use react as the composer namespace.
If you have a library called foo and your name is johndoe:
- Instead of naming your class
React\Foo\Client, name itJohnDoe\React\Foo\ClientorJohnDoe\Foo\Client. - Instead of naming your composer package
react/foo, name itjohndoe/foo-react,johndoe/react-fooorjohndoe/foo.
Sorry for sounding so lawyery, but this really should be considered general netiquette. Don't use other people's names. Besides, you can give your own name more visibility like that as well.
Many thanks!