Class “Anhskohbo\NoCaptcha\NoCaptchaServiceProvider” not found

Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Error :-

Error Code :-

[2024-03-01 09:20:16] local.ERROR: Class "Anhskohbo\NoCaptcha\NoCaptchaServiceProvider" not found {"exception":"[object] (Error(code: 0): Class \"Anhskohbo\\NoCaptcha\\NoCaptchaServiceProvider\" not found at C:\\xampp-laravel\\htdocs\\Wizbrand\\wz-siteadmin-ms-9\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\ProviderRepository.php:206)
[stacktrace]
#0 C:\\xampp-laravel\\htdocs\\Wizbrand\\wz-siteadmin-ms-9\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\ProviderRepository.php(142): Illuminate\\Foundation\\ProviderRepository->createProvider('Anhskohbo\\\\NoCap...')
#1 C:\\xampp-laravel\\htdocs\\Wizbrand\\wz-siteadmin-ms-9\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\ProviderRepository.php(61): Illuminate\\Foundation\\ProviderRepository->compileManifest(Array)
#2 C:\\xampp-laravel\\htdocs\\Wizbrand\\wz-siteadmin-ms-9\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(664): Illuminate\\Foundation\\ProviderRepository->load(Array)
#3 C:\\xampp-laravel\\htdocs\\Wizbrand\\wz-siteadmin-ms-9\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Bootstrap\\RegisterProviders.php(17): Illuminate\\Foundation\\Application->registerConfiguredProviders()
#4 C:\\xampp-laravel\\htdocs\\Wizbrand\\wz-siteadmin-ms-9\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(242): Illuminate\\Foundation\\Bootstrap\\RegisterProviders->bootstrap(Object(Illuminate\\Foundation\\Application))
#5 C:\\xampp-laravel\\htdocs\\Wizbrand\\wz-siteadmin-ms-9\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(176): Illuminate\\Foundation\\Application->bootstrapWith(Array)
#6 C:\\xampp-laravel\\htdocs\\Wizbrand\\wz-siteadmin-ms-9\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(160): Illuminate\\Foundation\\Http\\Kernel->bootstrap()
#7 C:\\xampp-laravel\\htdocs\\Wizbrand\\wz-siteadmin-ms-9\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(134): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#8 C:\\xampp-laravel\\htdocs\\Wizbrand\\wz-siteadmin-ms-9\\public\\index.php(51): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#9 {main}

Solution:-

Step 1 :- Go to your project terminal and eun the following code which i have given below:-

composer require anhskohbo/no-captcha

Step 2 :- In app/config/app.php add the following The ServiceProvider to the providers array

Anhskohbo\NoCaptcha\NoCaptchaServiceProvider::class,

Step 3 :- The class alias to the aliases array:

'NoCaptcha' => Anhskohbo\NoCaptcha\Facades\NoCaptcha::class,

Step 4 :- Now you can run your project and your Class “Anhskohbo\NoCaptcha\NoCaptchaServiceProvider” not found issue is solved.

Senior Software Development Engineer at Cotocus

Related Posts

How We Fixed a Stubborn Laravel MeiliSearch Bulk Indexing Failure (16,000+ Records)

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now If…

Read More

Laravel Search Without Docker, Queues, or Horizon

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now Modern…

Read More

Laravel Scout with Typesense vs Meilisearch

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now Modern…

Read More

SESSION_DRIVER=file vs SESSION_DRIVER=database in Laravel

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now Which…

Read More

Laravel Logging: Complete Step-by-Step Guide to Enable, Debug, Verify, and Master Logs in Any Laravel Project

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now Logging…

Read More

Complete Tutorial: Setting Up Laravel Telescope Correctly (Windows + XAMPP + Custom Domain)

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now This…

Read More
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments