Question: yii2 how to create extension?
Answer: This is the best way to develop new extensions for Yii! ... 
Name: The name is /yii2-. ... 
Type: You must use "yii2-extension" for the type, this tells Yii to load it into your extensions file for internal use.