I am developing a commercial PHP software which I will offer for free for non-profit, open source, personal usage and for self training and I want to make it open source but in the same time it is a proprietary software. I guess I should make a special license for this case, I didn't find any license meeting the criteria?
I want to use composer
to download and setup the software because this is the best way to do it nowadays.
Do you think it is a good idea to host the software on Github? I don't have any problems sharing the code and I will have to explain in the license what is allowed and what is not.
Additionally any developers which use the software for free may want to contribute to it and another question rises in this case. What happens with the copyrights of the contributed commits. Can I somehow state that any contributed code is owned by me in exchange of adding the contributor to a "contributors list" in the final software so the contributors cannot claim share of the profit.