Yii Framework Forum: How to license copied parts of Yii in my app - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How to license copied parts of Yii in my app Rate Topic: -----

#1 User is offline   Andre M 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 10-March 12

Posted 10 March 2012 - 03:46 AM

I've copied a few classes and parts of classes into my app then made moderate to heavy modifications, but I'm not sure how I should credit/license the code.

For example, I have a version of CDbAuthManager named DbAuthManager where I added an additional column to the table and modified the code accordingly. Right now I have the phpdoc for the class like so:

/**
 * AuthManager class file.
 *
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @author Me <me@myemail.com>
 * @link http :// www.yiiframework.com/
 * @link http :// www.mysite.com/
 * @copyright Copyright &copy; 2008-2011 Yii Software LLC
 * @license http :// www.yiiframework.com/license/
 * @copyright Copyright &copy; Me
 * @license http :// www.mysite.com/license/
 */


Is this correct? Should I remove the original Yii author and license? If not, can I also have a link to my license?

In another example I have copied a few functions from a Yii class into my own class. I modified them slightly but they're mostly original code. How should I give credit? Do I need to include the Yii license?
0

#2 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,600
  • Joined: 17-January 09
  • Location:Russia

Posted 10 March 2012 - 05:27 AM

Yii code is licensed under BSD license so you can do whatever you want with it except using Yii name to promote your product.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users