That's how it's done for Yii: http://www.yiiframework.com/license/