How do I use the show method on internal users on laravel

I would like to use the show method internal users. here are my routes <?php /* |————————————————————————– | Web Routes |————————————————————————– | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | contains the “web” middleware group. Now create something…

Have no idea why the listener is not being called in Laravel

Heres the event: <?php namespace App\Modules\Clinicians\Events; use Illuminate\Queue\SerializesModels; class CreateHealthCareProviderEvent { use SerializesModels; public $data; /** * Create a new event instance. * * @return void */ public function __construct(array $data) { $this->data = $data; } } The event gets called just fine. But the listener: <?php namespace App\Modules\Clinicians\Listeners; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use App\Modules\Clinicians\Events\CreateHealthCareProviderEvent;…

Laravel multi authetification with different users tables

I’m trying to build a multiple authentification in laravel with different tables (2 tables) for admin and user. The problème is that the registration and login forms work only with default auth login/register. I’ve tried some examples form web tutorials but it didn’t work. HomeController.php: public function __construct() { $this->middleware(‘auth’); } public function index() {…

Laravel multi authetification with different users tables

I’m trying to build a multiple authentification in laravel with different tables (2 tables) for admin and user. The problème is that the registration and login forms work only with default auth login/register. I’ve tried some examples form web tutorials but it didn’t work. HomeController.php: public function __construct() { $this->middleware(‘auth’); } public function index() {…