Category Archives: Yii

How to create forms in yii 2

Rakesh Sharma      5 Comments  

How to create forms in yii 2 ActiveForm In Yii2 we use the ‘yii\widgets\ActiveForm’ and ‘yii\helpers\Htm’ together to create forms.The former class is used to create a form and the later one is to render various form elements like textboxes,radio buttons,checkboxes etc. In this article we will explore how to… Read more »

Remove index.php from url in yii2

Rakesh Sharma      1 Comment  

Remove index.php from url in yii2 using .htaccess A new version of yii framework has been launched with named yii2. So you getting a new directory structures and file locations for cleaning urls. This is most of frameworks common problems that inclusion of index.php in the URL by default also… Read more »

Remove web from url in yii2

Rakesh Sharma      9 Comments  

Remove web from url in yii2 using content moving After install yii2 when you run your application in browser you will see “/web” appears in url. If you need clean url you need to remove web from url in yii2. We are using content moving method for remove web from… Read more »

How to install Yii2 on windows xampp

Rakesh Sharma      No Comments  

How to install Yii2 on windows xampp using composer or manually There are two ways in which you can install yii2 on your windows xampp server using composer tool or manually. Lets take a glance on both the steps. Best way to install yii2 on windows xampp is using composer… Read more »

How to install Yii2 on ubuntu

Rakesh Sharma      No Comments  

How to install Yii2 on ubuntu using composer Best way to install Yii Framework is using composer. Below we will see installation steps of a php framework yii2 on ubuntu. Let’s see How to install yii2 on ubuntu using composer. Before composer install we need some more packages installation. In… Read more »