Twig and Doctrine in GPL project.

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
Ragnis
Forum Commoner
Posts: 31
Joined: Thu Nov 13, 2008 12:35 pm
Location: Saaremaa, Estonia, Europe, Asia, Planet Earth, The Solar System, Milky way.

Twig and Doctrine in GPL project.

Post by Ragnis »

Can i license my open sourced CMS under GPL v2/v3 license if it uses Twig (BSD License) and Doctrine (LGPL)?

And do i have to put this text to the beginning of all my source files...

Code: Select all

* This file is part of Foobar.
 * 
 * Foobar is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * Foobar is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with Foobar.  If not, see <http://www.gnu.org/licenses/>.
..or can i do it like phpbb does?

Code: Select all

/**
*
* @package mcp
* @version $Id$
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
phu
Forum Commoner
Posts: 61
Joined: Tue Mar 30, 2010 6:18 pm

Re: Twig and Doctrine in GPL project.

Post by phu »

You'll need to read the individual licenses and assess whether the terms under which you're distributing those packages are compatible. You can package yours under a different license without issue as long as you are distributing those projects in compliance with their own licenses.

You can also just note prominently that your project requires those two as external dependencies, link to their sites, and not worry about distribution issues.
User avatar
Ragnis
Forum Commoner
Posts: 31
Joined: Thu Nov 13, 2008 12:35 pm
Location: Saaremaa, Estonia, Europe, Asia, Planet Earth, The Solar System, Milky way.

Re: Twig and Doctrine in GPL project.

Post by Ragnis »

Ok. But can i apply GPL license to my project like phpbb does? (The other question)
User avatar
AbraCadaver
DevNet Master
Posts: 2572
Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:

Re: Twig and Doctrine in GPL project.

Post by AbraCadaver »

Ragnis wrote:Ok. But can i apply GPL license to my project like phpbb does? (The other question)
Yes, since the BSD and LGPL are more permissive you can license your project under GPL, but the Twig and Doctrine components themselves will still be licensed under their respective licenses.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
Post Reply