ahmadasjad / yii2plusyii1
There is no license information available for the latest version (dev-master) of this package.
A library to use yii1 and Yii2 together
dev-master
2020-04-12 02:48 UTC
Requires
- yiisoft/yii: ^1.1
- yiisoft/yii2: ^2.0
This package is auto-updated.
Last update: 2024-12-12 13:22:51 UTC
README
First go through this repo to get the complete idea of using Yii2 with yii1: https://github.com/ahmadasjad/yii1plusyii2
- add
return
beforerender('yourView', ['model' => $model])
call inside every controller. ** - Remove echo from your controller, and return all the echo part with a single return statement **
- Add
echo
before every widget call inside the view **