hussein4alaa / laravel-g4t-swagger-auto-generate

auto generate swagger in laravel
MIT License
106 stars 13 forks source link

Class "App\Http\Controllers\Controller" not found error in a modular project #59

Closed mohammadsalehnia closed 4 months ago

mohammadsalehnia commented 4 months ago

Hi, I'm using a Laravel 10 application with the nWidart/laravel-modules package and a customized directory for my application. So there is no file in App\Http\Controllers\Controller.

After installing laravel-g4t-swagger-auto-generate I've got this error: Class "App\Http\Controllers\Controller" not found

Screenshot 2024-07-04 at 9 42 25 PM

Can a different Controller file be used as the default Controller for this package?

hussein4alaa commented 4 months ago

Dear @mohammadsalehnia, now you can use 3.1.9 the issue has been resolved in this release. Thank you for helping me make this package better.