Faizan Ahmad
Faizan Ahmad
@faisalsehar786 is it working with laravel 7?
**My packages Details** > "laravel/framework": "^7.0", > "laravel/scout": "^8.6", > "teamtnt/laravel-scout-tntsearch-driver": "^11.1"
i am searching on it.. but didn't find anything to debug it.. as my model class working fine in controller and other places.
 My folder Structure.. one change i have done is here.. before my models were in app directory... i moved them in App\Models Directory.
After that i run this command **composer require teamtnt/laravel-scout-tntsearch-driver** > Configure this package same as given in the first page.. > > Add the service provider: > > // config/app.php...
after that i run **php artisan scout:import App\\Models\CarIn** 
Following this video https://www.youtube.com/watch?v=yuG1kS9WFz0&t=4s
NameSpace ```
Thanks for the help it is resolved. the problem is with the backslash `php artisan scout:import App\Models\CarIn` it is working `php artisan scout:import App\\Models\\CarIn ` it is not
Facing same error.