Skip to content
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 it JohnDoe\React\Foo\Client or JohnDoe\Foo\Client.
  • Instead of naming your composer package react/foo, name it johndoe/foo-react, johndoe/react-foo or johndoe/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!

See also

Clone this wiki locally