How to install an extension

So I haven’t installed an extention before but I wanted to install the ‘https://github.com/dmstr/yii2-redirect-module’ extention, but as this extention does not have an’how to install’ section I dont know how to install this. I have tried to use composer, this did work, but still no views and such.


composer require dmstr/yii2-redirect-module

From here: https://packagist.org/packages/dmstr/yii2-redirect-module