Question: do I need to state the license inside the extension files?

Hi,

When releasing an extension, there’s a nice dropdown to select the license type. This is all well - no inquiries here.

My question is with regard to actual extension files:

  • do I need to state the license type within each file?
  • also in view files? In simple php array files? (etc…)
  • what phrasing of license shall I put? (assuming that I use the default New BSD License which is ok with me).

Thanks,

Boaz.

That’s up to you. It’s a good practice to at least mention what license you’re using. Personally I’m just mentioning it in the readme.

thanks.