How to create custom widget in Yii2

This tutorial will show you how you can create your own custom widget in Yii2. Widgets are reusable blocks and they are used in your views. The main advantage of Widget is you can write once and reuse it wherever you need […]

How to send e-mail from YII2 Application

Hi there, This tutorial will show you how to send emails from yii2 application. Sending emails from yii2 application is not a tedious task, in fact we just need to edit/add the config options in your config file. Yii2 […]

How to use mPDF In Yiiframework 2

Hello there, Today I would like to show you how to integrate mPDF library with Yii framework 2.First let me give you some basic information about mPDF. mPDF is a PHP Class by using this we can easily generate PDF files […]

Yii2 Transaction

In this tutorial I would like to show you how we can use transactions in YII2. A transaction is used to run a group of operations in single process means transaction is a unit of work. Why should I use transaction? In […]

How to make a drop down list in yii2?

In this tutorial I would like to show you making dropdown list in yii2 using different data sources like static array data and database table modal data. First I would like to share basic syntax – here you go… Yii2 […]