Closed Zephni closed 6 months ago
On a fresh Laravel 8x install I followed the steps in the README like so:
Added " Jaybizzle\LaravelCrawlerDetect\LaravelCrawlerDetectServiceProvider::class," to config.app
Added " 'Crawler' => Jaybizzle\LaravelCrawlerDetect\Facades\LaravelCrawlerDetect::class," to aliases in config.app
Added "use Crawler;" at the top of a Livewire component
But when trying to use "Crawler::isCrawler()" I am getting the error: "Undefined type 'Crawler'."
Is there something I am missing?
Looks okay to me.
Your going to have to give me more information before I can help you further
On a fresh Laravel 8x install I followed the steps in the README like so:
Added " Jaybizzle\LaravelCrawlerDetect\LaravelCrawlerDetectServiceProvider::class," to config.app
Added " 'Crawler' => Jaybizzle\LaravelCrawlerDetect\Facades\LaravelCrawlerDetect::class," to aliases in config.app
Added "use Crawler;" at the top of a Livewire component
But when trying to use "Crawler::isCrawler()" I am getting the error: "Undefined type 'Crawler'."
Is there something I am missing?