Extensions GPL notices

From Joomla! Documentation

Revision as of 00:52, 9 May 2010 by Horus 68 (Talk | contribs)

Quill icon.png
Content is Incomplete

This article or section is incomplete, which means it may be lacking information. You are welcome to assist in its completion by editing it as well. If this article or section has not been edited in several days, please consider helping complete the content.
This article was last edited by Horus 68 (talk| contribs) 5 years ago. (Purge)

To list your file in JED under GPL license its required 3 things

All source code files in the core Joomla distribution must contain the following comment block as the header:

PHP files

1- Notice at the top of each php file stating that it is distributed under the terms of the GPL

as in this comment block as the header:

 * @package Module XYZ for Joomla! 1.5
 * @version $Id: mod_XYZ.php 599 2010-03-20 23:26:33Z you $
 * @author YOUR NAME HERE
 * @copyright (C) 2010- YOUR NAME HERE
 * @license GNU/GPL

XML file

A <license> tag in your extension's XML file stating that it is under GPL, as in this tags for a module:

<?xml version="1.0" encoding="utf-8"?>
<install type="module" version="1.5.0">
	<name>Extension name goes here</name>
	<creationDate>20 April 2010</creationDate>
	<author>Author name goes here</author>
	<copyright>Copyright holder name goes here</copyright>
	<description>DESCRIPTION GOES HERE</description>

For GPL you could use other versions of the license:

TXT file

3- Provide a copy of the GPL license within your package

  • note: this file doesn't need to be installed with the extension, just included with the package as a text file


Libraries (Js scripts, flash) can be licensed under other licenses as in: