Closed Tiththa closed 3 years ago
It sounds like you need to import the facade with use Grosv\LaravelPasswordlessLogin\PasswordlessLogin;
at the top of your controller. 🤔 In the example, the facade isn't imported as I'm assuming they added it to their app.aliases
list in the config.
It sounds like you need to import the facade with
use Grosv\LaravelPasswordlessLogin\PasswordlessLogin;
at the top of your controller. 🤔 In the example, the facade isn't imported as I'm assuming they added it to theirapp.aliases
list in the config.
Thank you for the help, yes it isn't imported hence it is throwing the error. I will give it another go and check. @owenvoke
I am getting
Class 'App\Http\Controllers\PasswordlessLogin' not found
after installing via composer, what should i register inapp.php
?Using Laravel 7 with Simple Usage method as in the docs