Error while running composer require tebazil/yii2-db-seeder

Hello,

I’m new to Yii framework. For a project I have to use yii2-db-seeder but when I run composer composer require tebazil/yii2-db-seeder I have the following error message.

Using version ^0.0.0 for tebazil/yii2-db-seeder
./composer.json has been updated
Running composer update tebazil/yii2-db-seeder
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - yiisoft/yii2-faker is locked to version 2.0.5 and an update of this package was not requested.
    - tebazil/db-seeder 0.0.0 requires fzaninotto/faker ^1.5 -> satisfiable by fzaninotto/faker[v1.5.0, ..., v1.9.2].
    - fakerphp/faker v1.13.0 conflicts with fzaninotto/faker v1.9.2.
    - fakerphp/faker v1.13.0 conflicts with fzaninotto/faker v1.9.1.
    - fakerphp/faker v1.13.0 conflicts with fzaninotto/faker v1.9.0.
    - fakerphp/faker v1.13.0 conflicts with fzaninotto/faker v1.8.0.
    - fakerphp/faker v1.13.0 conflicts with fzaninotto/faker v1.7.1.
    - fakerphp/faker v1.13.0 conflicts with fzaninotto/faker v1.7.0.
    - fakerphp/faker v1.13.0 conflicts with fzaninotto/faker v1.6.0.
    - fakerphp/faker v1.13.0 conflicts with fzaninotto/faker v1.5.0.
    - tebazil/yii2-db-seeder 0.0.0 requires tebazil/db-seeder * -> satisfiable by tebazil/db-seeder[0.0.0].
    - yiisoft/yii2-faker 2.0.5 requires fakerphp/faker ~1.9|~1.10 -> satisfiable by fakerphp/faker[v1.13.0].
    - Root composer.json requires tebazil/yii2-db-seeder ^0.0.0 -> satisfiable by tebazil/yii2-db-seeder[0.0.0].


Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Your faker application is not up to date.
You can do any one choice below

  1. Remover Faker by using composer. Firstly install tebazil/yii2-db-seeder
  2. Update faker and then try to install tebazil/yii2-db-seeder
  3. Install required decencies for dB seeder then install tebazil/yii2-db-seeder
  4. Update your Yii application to latest and then install tebazil/yii2-db-seeder.