Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ahmadasjad/yii2plusyii1
upgrade yii1 to yii2
https://github.com/ahmadasjad/yii2plusyii1
php yii yii1-and-yii2 yii2 yii2-and-yii1
Last synced: about 2 months ago
JSON representation
upgrade yii1 to yii2
- Host: GitHub
- URL: https://github.com/ahmadasjad/yii2plusyii1
- Owner: ahmadasjad
- Created: 2019-06-15T10:45:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-12T02:49:02.000Z (almost 5 years ago)
- Last Synced: 2024-11-14T18:45:21.013Z (2 months ago)
- Topics: php, yii, yii1-and-yii2, yii2, yii2-and-yii1
- Language: PHP
- Homepage:
- Size: 28.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
> First go through this repo to get the complete idea of using Yii2 with yii1:
> https://github.com/ahmadasjad/yii1plusyii2- add `return` before `render('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 **