Composer error when I install twilio library

I have tried to add sms function using twilio library.
So I run the composer command: composer require twilio/sdk
But I have got below issue:

Class LaravelCrawlerDetect does not exist

Please help me if anyone have some solutions.
Thank you


Did the composer require command succeed? You’ll see that error if the vendor files are missing/composer install hasn’t been run.

Thanks for your reply hillel.
I have downloaded zip file that have vendor directory in it
So I just tried to install twilio sdk using composer.
But got this issue.
I did googling and tried some php artisan commands too.
But the same issue when I run artisan command except “php artisan cache:clear”

If you’re trying to add a library I suggest checking out the code from GitHub and using composer to first run composer install