use composer require command to simplify the installation

use composer require command to simplify the installation